summaryrefslogtreecommitdiff
path: root/src
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
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-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-15(main): Fix my typo: s/argv[optind]/file[i]/.Jim Meyering
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-14(main): Adjust to new make_dir_parents convention.Paul Eggert
2005-06-14tweak diagnostic wording: Use `... return to working directory', ratherJim Meyering
than `... restore working directory'.
2005-06-14remove obsolete FIXMEJim Meyering
2005-06-13(main): When make_dir_parents changes the current workingJim Meyering
directory, give a diagnostic about each subsequent failure to create a dot-relative directory. (install_file_in_file_parents): Update make_dir_parents caller.
2005-06-13(main): When make_dir_parents changes the current workingJim Meyering
directory, give a diagnostic about each subsequent failure to create a dot-relative directory.
2005-06-10(any_has_acl): New var.Paul Eggert
(clear_files): Clear it. (gobble_file): Set it if a file has an ACL. (print_long_format): Omit needless space unless some file has an ACL.
2005-06-10(VERIFY_W_TYPEOF): Add parentheses.Jim Meyering
2005-06-03Fix typo in comment.Paul Eggert
2005-06-02(usage): Put `Ordering options:' line where it belongs.Jim Meyering
2005-06-02Regenerate.Paul Eggert
2005-06-02Don't use "path" or "filename".Paul Eggert
2005-06-02Don't use "path" or "filename".Paul Eggert
(struct file_name): Renamed from struct Path. All uses changed. (file_name_free): Renamed from path_free. All uses changed. (file_name_init): Renamed from path_init. All uses changed. (file_name_prepend): Renamed from path_prepend. All uses changed.
2005-06-02Don't use "path" or "filename".Paul Eggert
(make_link_name): Renamed from make_link_path. All uses changed.
2005-06-02(FILE_BASENAME_CONCAT): Renamed from PATH_BASENAME_CONCAT.Paul Eggert
All uses changed.
2005-06-02Don't use "path" or "filename".Paul Eggert
(install_file_in_file_parents): Renamed from install_file_to_path. All uses changed.
2005-06-02Don't use "path" or "filename".Paul Eggert
Don't include "path-concat.h"; not needed.
2005-06-02Don't use "path" or "filename".Paul Eggert
(usage): Don't use "path" to describe a file name. (remove_empty_parents): Renamed from empty_paths. All uses changed. (longopts): Add comment that --path is deprecated.
2005-06-02(usage): Don't use "path" to describe a file name.Paul Eggert
2005-06-02Don't use "path" or "filename".Paul Eggert
(parents_option): Renamed from flag_path. All uses changed. (make_dir_parents_private): Renamed from make_path_private. All uses changed. (usage): Don't use "path" to describe a file name.
2005-05-31(chown_privileges, chown_failure_ok): Mark as `extern'.Jim Meyering
This is a crutch so that `make distcheck's sc_tight_scope rule knows that they really are deliberately declared that way.
2005-05-31(cp_options_init): Use chown_privileges rather than geteuid.Paul Eggert
2005-05-31(re_protect): Remove unnecessary call to geteuid.Paul Eggert
Use chown_failure_ok rather than our own code. (cp_options_init): Use chown_privileges rather than getuid.
2005-05-31Add copyright notice.Paul Eggert
(struct cp_options): Remove myeuid member. Add chown_privileges member. (chown_privileges, chown_failure_ok): New function decls.
2005-05-31Port to Solaris 10's rules for whether programs can chown files.Paul Eggert
[HAVE_PRIV_H]: Include <priv.h>. (DO_CHOWN): Remove. Replaced by chown_failure_ok. All callers changed. (copy_internal): If chown failed, don't worry about what happened to the mode bits; they can't have changed. (chown_privileges, chown_failure_ok): New functions.
2005-05-30.Jim Meyering
2005-05-30Regenerate.Paul Eggert
2005-05-30Include sys/param.h if it exists, not if _POSIX_VERSIONPaul Eggert
isn't defined. Don't include <sys/file.h>; no longer needed. (getegid, geteuid): Remove no-longer-necessary decls.
2005-05-30Don't bother mentioning _POSIX_VERSION in comment.Paul Eggert
2005-05-30(OPENOPTS, TEXT1T01, TEXTCNVT): Remove.Paul Eggert
(digest_file): Use O_BINARY-using expr instead of OPENOPTS.
2005-05-30(getpwnam, getgrnam): Remove decl.Paul Eggert
(getuid, getgid) [!defined _POSIX_VERSION]: Remove decls.
2005-05-30(getpwuid, getgrgid, getuid, getgid, geteuid, getegid)Paul Eggert
[!defined _POSIX_VERSION]: Remove decls.
2005-05-30(geteuid) [!defined _POSIX_VERSION]: Remove decl.Paul Eggert
2005-05-30(getgrnam, getgrgid) [!defined _POSIX_VERSION]:Paul Eggert
Remove decls.
2005-05-30(getgrnam) [!defined _POSIX_VERSION]: Remove decl.Paul Eggert
2005-05-30(_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]:Paul Eggert
Define to 256, not 255, as per modern POSIX.
2005-05-28(skip): Return the number of records that were notPaul Eggert
skipped due to encountering EOF. (dd_copy): If the file wasn't seekable and EOF was encountered, write zeros past EOF until the desired offset is reached.
2005-05-27Include inttostr.h, strnumcmp.h.Paul Eggert
(whitespace, digit, digit_value, integer_expected_error): Remove. (is_int): Remove; replaced by... (find_int): New function. (binary_operator): Don't let integers overflow in comparisons; return the correct answer instead. Simplify the code. (unary_operator): Convert the integer ourself, since find_int no longer does so.