diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-14 18:35:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-14 18:35:38 +0000 |
commit | f7bbc5d1a2175ca6a2a964aeec964832a920959f (patch) | |
tree | 6669c1bb7556e4a7ad35079db6f514f675c21828 /src/mkdir.c | |
parent | 5c3c5b0586b5459b9eca52973eabe0c5bf41f6be (diff) | |
download | coreutils-f7bbc5d1a2175ca6a2a964aeec964832a920959f.tar.xz |
(CLEANUP_CWD, CLEANUP): Remove.
(make_dir_parents): Revamp to avoid need for CLEANUP_CWD, CLEANUP.
If the file already exists but is not a directory, don't bother
to try to make its parents.
Close potential file descriptor leak if we can't chdir("/") (!).
Don't always return true if chdir($PWD) fails; return true only
if the requested action was done successfully (except for the
chdir($PWD)).
Don't log final directory unless we actually made it.
Refactor to avoid duplicate code to fix up permissions.
Don't attempt to fix up parent permissions if chdir($PWD) fails.
Diffstat (limited to 'src/mkdir.c')
0 files changed, 0 insertions, 0 deletions