aboutsummaryrefslogtreecommitdiffstats
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-04-26 07:28:55 -0700
committerWayne Davison <wayned@samba.org>2009-04-26 07:43:32 -0700
commita8e6e1486960fe2e9ac190ad53e9830f0f3f900a (patch)
tree3468f982f5fb605a0d882fe1d19c096502111d59 /rsync.h
parent307555eba3720362922cf25c15991b21f0e72dab (diff)
downloadandroid_external_rsync-a8e6e1486960fe2e9ac190ad53e9830f0f3f900a.tar.gz
android_external_rsync-a8e6e1486960fe2e9ac190ad53e9830f0f3f900a.tar.bz2
android_external_rsync-a8e6e1486960fe2e9ac190ad53e9830f0f3f900a.zip
Change sending/receiving/storing of the rdev value for special files.
Since the value is not needed, protocol 31 no longer sends it, while older protocols are optimized so the sender just sends a valid rdev value as efficiently as possible. The receiver no longer caches an rdev value for special files, and the generator will always pass a 0 rdev value to do_mknod() for special files. Fixes bug #6280.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync.h b/rsync.h
index 1b0397e1..3656c767 100644
--- a/rsync.h
+++ b/rsync.h
@@ -96,7 +96,7 @@
/* This is used when working on a new protocol version in CVS, and should
* be a new non-zero value for each CVS change that affects the protocol.
* It must ALWAYS be 0 when the protocol goes final (and NEVER before)! */
-#define SUBPROTOCOL_VERSION 5
+#define SUBPROTOCOL_VERSION 6
/* We refuse to interoperate with versions that are not in this range.
* Note that we assume we'll work with later versions: the onus is on