From: Wayne Davison Date: Sun, 30 Mar 2008 22:40:34 +0000 (-0700) Subject: Improved the chdir() code: X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/29a89172f77ed76dcf53612e96dc35daf15d7362?hp=29a89172f77ed76dcf53612e96dc35daf15d7362 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(). ---