Temporarily set uid_ndx in the delete code if the transfer is not
authorWayne Davison <wayned@samba.org>
Thu, 28 Feb 2008 00:19:05 +0000 (16:19 -0800)
committerWayne Davison <wayned@samba.org>
Thu, 28 Feb 2008 00:25:29 +0000 (16:25 -0800)
commitc4c9bb944bf6d1e17b8884a41a932db26528372e
tree2ecb1418b1c3c2c16fa42f5a3794b582fa9c2105
parent236adddc18cd4f0e3d91183220af10c11c5cc8a2
Temporarily set uid_ndx in the delete code if the transfer is not
preserving ownership, but we want to know what the UIDs are on the
files we're deleting.  Changed the DEL_OWNED_BY_US flag to be
DEL_NO_UID_WRITE, which is only set when a file is owned by us and
we can't write to it.  Fixed a glitch in the error handling of the
--delete-delay code where it might try to enable delete-after in
incremental-transfer mode.  Made a simple (well tested) optimization
in the --delete-delay code and a few other readability changes.
generator.c