Some temporary code for 2.6.4pre3 compatibility (which can be
authorWayne Davison <wayned@samba.org>
Mon, 28 Mar 2005 17:29:27 +0000 (17:29 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 28 Mar 2005 17:29:27 +0000 (17:29 +0000)
safely removed for the next release).

sender.c

index 3afc48d..f54542b 100644 (file)
--- a/sender.c
+++ b/sender.c
@@ -173,6 +173,10 @@ int read_item_attrs(int f_in, int f_out, int ndx, uchar *type_ptr,
        }
        *len_ptr = len;
 
+       /* Temporary handling of 2.6.4pre3 */
+       if (iflags & ITEM_DUMMY_BIT && iflags & (ITEM_LOCAL_CHANGE|ITEM_TRANSFER))
+               iflags &= ~ITEM_DUMMY_BIT;
+
        if (iflags & ITEM_TRANSFER) {
                if (!S_ISREG(the_file_list->files[ndx]->mode)) {
                        rprintf(FERROR,