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)
- 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().


No differences found