summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16Rather than this: error (..., "...`%s'...", arg);Jim Meyering
do this: error (..., "...%s...", quote (arg));
2005-06-16Rather than this: error (..., "...`%s'...", arg);Jim Meyering
do this: error (..., "...%s...", quote (arg));
2005-06-16*** empty log message ***Jim Meyering
2005-06-16(rpl_calloc): Allocate a 1-byte buffer (not 1xS or Nx1)Jim Meyering
when either N or S is zero.
2005-06-16*** empty log message ***Jim Meyering
2005-06-16(Backup options): Undocument --version-control=S (-V).Jim Meyering
2005-06-16*** empty log message ***Jim Meyering
2005-06-16Finally remove support for --version-control=S (-V).Jim Meyering
It was deprecated nearly 6 years ago and has been warning users to switch to --backup=S since fileutils-4.0j.
2005-06-15.Jim Meyering
2005-06-15Reflect s/_die/_fail/ renaming.Jim Meyering
2005-06-15*** empty log message ***Jim Meyering
2005-06-15Ensure that rel-named dirs are not created when chdir($PWD) fails.Jim Meyering
2005-06-15Ensure that each `-d'-specified directory is created.Jim Meyering
2005-06-15(main): Fix my typo: s/argv[optind]/file[i]/.Jim Meyering
2005-06-15*** empty log message ***Jim Meyering
2005-06-15Add a test for just-fixed bug in mkdir-p.c.Jim Meyering
2005-06-15(make_dir_parents): Don't let a failed chdir($PWD)Jim Meyering
stop us from restricting permissions of just-created absolute-named directories.
2005-06-15Fix typo in previous checkin.Paul Eggert
2005-06-15install -D had a problem similar to mkdir -p.Paul Eggert
2005-06-14Improve diagnostics for restore_cwd failure.Paul Eggert
2005-06-14(make_dir): Remove. All uses replaced by mkdir.Paul Eggert
(make_dir_parents): Last arg is now int * (for errno), not bool *. Rewrite "mkdir -p" algorithm to avoid the need for "stat" each time through the loop. Do not diagnose restore_cwd failure; that is the caller's job (and perhaps the caller does not care).
2005-06-14(make_dir): Remove. All uses replaced by mkdir.Paul Eggert
(make_dir_parents): Last arg is now int * (for errno), not bool *.
2005-06-14(create_parents): Remove static var (now local to 'main').Paul Eggert
(main): Standardize on a diagnostic for restore_cwd failure, and report errno. Don't bother to check cwd_errno unless create_parents. Use mkdir rather than make_dir; it's simpler.
2005-06-14(main): Standardize on a diagnostic forPaul Eggert
restore_cwd failure, and report errno. (install_file_in_file_parents): Fail if restore_cwd fails and one of the files is relative. This fixes a bug (albeit unlikely).
2005-06-14mkdir-p cleanup.Paul Eggert
2005-06-14Adjust to new make_dir_parents convention.Paul Eggert
2005-06-14(main): Adjust to new make_dir_parents convention.Paul Eggert
2005-06-14(CLEANUP_CWD, CLEANUP): Remove.Paul Eggert
(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.
2005-06-14*** empty log message ***Jim Meyering
2005-06-14Reflect s/_die/_fail/ renaming.Jim Meyering
2005-06-14(openat_save_fail): Rename from openat_save_die.Jim Meyering
(openat_restore_fail): Rename from openat_restore_die.
2005-06-14*** empty log message ***Jim Meyering
2005-06-14Ensure mkdir succeeds if the following argument is an absolute directory name.Jim Meyering
2005-06-14clarify commentJim Meyering
2005-06-14*** empty log message ***Jim Meyering
2005-06-14(CLEANUP_CWD): Return *true*, not false when failingJim Meyering
to restore initial working directory.
2005-06-14*** empty log message ***Jim Meyering
2005-06-14Change openat.c to openat-die.c.Jim Meyering
2005-06-14*** empty log message ***Jim Meyering
2005-06-14(my-distcheck): Add -Wall to the list of options thatJim Meyering
are used with -Werror. This target is not intended for general use.
2005-06-14.Jim Meyering
2005-06-14tweak diagnostic wording: Use `... return to working directory', ratherJim Meyering
than `... restore working directory'.
2005-06-14whoops.Jim Meyering
redirect stderr to dev/null
2005-06-14.Jim Meyering
2005-06-14*** empty log message ***Jim Meyering
2005-06-14(TESTS): Add p-3.Jim Meyering