diff options
author | Wayne Davison <wayned@samba.org> | 2007-09-04 06:53:47 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-09-04 06:53:47 +0000 |
commit | 0eeb9f5481181faf9fcb71752167289cd281fdba (patch) | |
tree | f1eecee47f8f32310e993e23538dcd79aec44d00 /hlink.c | |
parent | 7b46e30fd49d49d2c775dff8fe0c12c41ebe2f0f (diff) | |
download | android_external_rsync-0eeb9f5481181faf9fcb71752167289cd281fdba.tar.gz android_external_rsync-0eeb9f5481181faf9fcb71752167289cd281fdba.tar.bz2 android_external_rsync-0eeb9f5481181faf9fcb71752167289cd281fdba.zip |
If we turn off FLAG_HLINKED, set FLAG_HLINK_DONE so that any
file-entry values affected by HLINK_BUMP() stay put.
Diffstat (limited to 'hlink.c')
-rw-r--r-- | hlink.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -151,7 +151,10 @@ static void match_gnums(int32 *ndx_list, int ndx_count) prev = ndx_list[from] + hlink_flist->ndx_start; } if (prev < 0 && !inc_recurse) { + /* Indicate that this item isn't hard-linked without + * affecting any HLINK_BUMP()-dependent values. */ file->flags &= ~(FLAG_HLINKED | FLAG_HLINK_FIRST); + file->flags |= FLAG_HLINK_DONE; continue; } |