Now that fts no longer changes the current working directory, adjust
authorJim Meyering <jim@meyering.net>
Tue, 17 Jan 2006 17:25:42 +0000 (17:25 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 17 Jan 2006 17:25:42 +0000 (17:25 +0000)
commitc97a36e2d9ff86871bf40b2670149f647ccc958a
treeb873716f366c7938944d59712c2ac5518b6c0fd3
parente9f0c42afcee2105e5947715128f55419411328f
Now that fts no longer changes the current working directory, adjust
its clients accordingly -- note that du.c uses fts but doesn't need
any adjustment, since it doesn't operate on the actual files,
but rather just uses the stat buffers provided by fts.

Include "openat.h".
(process_file): Use chmodat (fts->fts_cwd_fd,... in place of chmod (...
src/chmod.c