diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-02-04 09:57:27 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-02-04 09:57:27 +0000 |
commit | 5efbc37ecea01d84d884a7a07443f596a7edcee3 (patch) | |
tree | 501e218c7541d85cca159590d60261195d6df817 /common | |
parent | 8de5afd3423f99485156a82739e09550fb655f29 (diff) | |
download | gvfs-5efbc37ecea01d84d884a7a07443f596a7edcee3.tar.gz |
Remove SEEK_CUR from channel protocol. This doesn't work with readahead,
2008-02-04 Alexander Larsson <alexl@redhat.com>
* common/gvfsdaemonprotocol.h:
* client/gdaemonfileinputstream.c:
* client/gdaemonfileoutputstream.c:
* daemon/gvfsreadchannel.c:
* daemon/gvfswritechannel.c:
Remove SEEK_CUR from channel protocol. This
doesn't work with readahead, and can be converted
to a SEEK_SET since we know the file position on
the client side.
svn path=/trunk/; revision=1222
Diffstat (limited to 'common')
-rw-r--r-- | common/gvfsdaemonprotocol.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/gvfsdaemonprotocol.h b/common/gvfsdaemonprotocol.h index 0a06718b..918f4841 100644 --- a/common/gvfsdaemonprotocol.h +++ b/common/gvfsdaemonprotocol.h @@ -107,9 +107,8 @@ typedef struct { #define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_WRITE 1 #define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_CLOSE 2 #define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_CANCEL 3 -#define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_SEEK_CUR 4 -#define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_SEEK_SET 5 -#define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_SEEK_END 6 +#define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_SEEK_SET 4 +#define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_SEEK_END 5 /* read, readahead reply: |