Improved the chdir() code:
authorWayne Davison <wayned@samba.org>
Sun, 30 Mar 2008 22:40:34 +0000 (15:40 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 30 Mar 2008 22:44:46 +0000 (15:44 -0700)
commit29a89172f77ed76dcf53612e96dc35daf15d7362
treecadcb5daf227d3196d1492cc8d8f1a616412b3de
parent20893751791a1bb7417b9fa72e91c909619bca6a
Improved the chdir() code:
- Renamed push_dir() to change_dir() and revised it a little so that it
  can chdir() to a relative path without an intervening chdir() back to
  the staring path.
- Renamed push_pathname() to change_pathname() and revised it to take
  different args and to only call path_is_daemon_excluded() on a new
  path (not a revisit of a file's already-checked path).
- Fixed change_pathname() to set the right pathname value when a chdir()
  call fails.
- Set orig_dir once outside of the change_pathname() function.
- Got rid of pop_dir().
clientserver.c
flist.c
main.c
rsync.h
sender.c
util.c