- Updated delete_file() to take a flag arg that makes it more
authorWayne Davison <wayned@samba.org>
Wed, 19 Jan 2005 20:11:03 +0000 (20:11 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 19 Jan 2005 20:11:03 +0000 (20:11 +0000)
commitdd096ae080bbd67f928a5220e79b170946534efc
treef4fbede884cdfe7e3c867a327fab04eb3950e26b
parenteb1accaa9197bb157870601b208c8f35778f3c32
- Updated delete_file() to take a flag arg that makes it more
  flexible.  Optimized away a stat() call since the caller knows
  if the item to delete is a directory or not.
- Tweaked delete_file()'s "deleting ..." messages to include a
  trailing slash when we're deleting a directory.
- No need for conditional code around do_lstat() anymore.
rsync.c