Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-10-24 | (do_copy): Constify `dest', and cast-away the new | Jim Meyering | |
const in assignment to new_dest. | |||
1999-10-24 | add missing program_name arg to match new usage %s | Jim Meyering | |
1999-10-23 | label use of -V/--versin-control as a warning | Jim Meyering | |
1999-10-17 | Accept new option: --target-directory=DIR | Jim Meyering | |
(TARGET_DIRECTORY_OPTION): Define. (SPARSE_OPTION): Define. (usage): Describe it. (do_copy): Change meanings/names of first two parameters: use `n_files' in place of `argc - optind', and `file' instead of `argv + optind'. Add parameter, target_directory. (main): Pass new arg, target_directory. | |||
1999-10-16 | Convert --backup to take an optional argument. | Jim Meyering | |
Deprecate --version-control (-V) in comments. (usage): Remove mention of --version-control. (main): Make -V warn then fall through into --backup case. [--backup case]: Handle optional arg. | |||
1999-09-01 | Remove declaration of xstrdup. | Jim Meyering | |
1999-04-26 | (do_copy, cp_option_init, main): Use proper mode_t types and macros. | Jim Meyering | |
Don't assume the traditional Unix values for mode bits. | |||
1999-03-31 | Don't include closeout.h or version-etc.h explicitly. Now, they're included ↵ | Jim Meyering | |
via sys2.h. | |||
1999-03-26 | No longer include long-options.h. | Jim Meyering | |
Include version-etc.h instead. (PROGRAM_NAME, AUTHORS): Define. [long_options]: Add entries for --help and --version. Remove parse_long_options call. (main) [getopt switch]: Add a case for each of --help and --version. | |||
1999-03-04 | Include long-options.h | Jim Meyering | |
[long_options]: Remove the "help" and "version" entries. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks. | |||
1999-02-16 | update copyright dates | Jim Meyering | |
1999-01-16 | Remove declarations of base_name and get_version. | Jim Meyering | |
(main): Don't call getenv ("VERSION_CONTROL"); xget_version does it. Use xget_version and function-style XARGMATCH. | |||
1999-01-02 | Adapt to use new interface to XARGMATCH. | Jim Meyering | |
1999-01-02 | use XARGMATCH, not XARGCASEMATCH | Jim Meyering | |
1998-12-31 | (main): Use XARGCASEMATCH in place of argmatch & co. | Jim Meyering | |
1998-12-07 | Use dir_name, not dirname. Include dirname.h. | Jim Meyering | |
1998-11-30 | (do_copy): Rename local: s/unused/copy_into_self/ | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-08-30 | (long_options): Use corresponding short-option character | Jim Meyering | |
in place of `1', and `NULL' in place of pointer in initialization. | |||
1998-08-02 | (re_protect): Add comment. | Jim Meyering | |
1998-05-11 | reflect additional parameter to copy | Jim Meyering | |
initialize new member: move_mode. | |||
1998-05-10 | (cp_option_init): Likewise. | Jim Meyering | |
(main): Set new preserve_* options. | |||
1998-04-26 | Don't define NDEBUG. | Jim Meyering | |
1998-03-13 | (do_copy): Add unused arg in calls to copy. | Jim Meyering | |
1998-01-25 | (re_protect): Don't fail for non-root when chown fails due | Jim Meyering | |
not only to lack of permission (EPERM), but also to lack of support (EINVAL). Reported by Bengt Martensson. | |||
1998-01-22 | (do_copy): Add unreachable `return 0' to stifle warning. | Jim Meyering | |
1998-01-22 | [NDEBUG]: Comment out definition. | Jim Meyering | |
(do_copy): Use x->backup_type, not the global. | |||
1998-01-04 | (main, usage): Check for write error to stdout before exiting. | Jim Meyering | |
Include "closeout.h". | |||
1997-10-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
1997-10-23 | Remove stpcpy decl. | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-10-06 | (cp_option_init): Initialize it. | Jim Meyering | |
(main): Set to 1 for -a and for -p. | |||
1997-07-06 | declare stpcpy | Jim Meyering | |
1997-05-27 | Use base_name, not basename. | Jim Meyering | |
Use X, not CP_OPTIONS. | |||
1997-02-27 | (re_protect): When there is any potential for ambiguity in a diagnostic, | Jim Meyering | |
give explanatory diagnostic in addition to file name. | |||
1997-02-02 | Gutted code -- pieces are in copy.[ch]. | Jim Meyering | |
1997-02-01 | Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵ | Jim Meyering | |
*) 0' as last parameter in getopt_long call. | |||
1997-01-26 | (is_ancestor): Add it. | Jim Meyering | |
1996-12-18 | (ROOT_CHOWN_AFFECTS_SYMLINKS): New macro. | Jim Meyering | |
(DO_CHOWN): Take an additional parameter. (LINK_CHOWN): Remove macro. (copy): When preserving owner and group of a symlink, use chown only if ROOT_CHOWN_AFFECTS_SYMLINKS and EUID == 0. Otherwise, the chown would affect the file referenced through the symlink. | |||
1996-11-23 | (copy): With -i and not -f, prompt for any type of | Jim Meyering | |
(non-directory) source file before overwriting an existing target. Reported by Mark A. Thomas. | |||
1996-10-05 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-10-04 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-09-30 | (do_copy): Give better error message when copying multiple | Jim Meyering | |
files and the last one is not a directory. From Karl Berry. Call error (0, 0, ... then usage (1) -- instead of calling usage with two arguments. | |||
1996-09-10 | (do_copy): Describe in a little *more* detail the code | Jim Meyering | |
that makes `cp non-directory file/' (eventually) fail. | |||
1996-09-10 | (do_copy): Describe in a little more detail the code | Jim Meyering | |
that makes `cp non-directory file/' (eventually) fail. | |||
1996-09-08 | (do_copy): Set backup_type to `none' only *after* | Jim Meyering | |
calling to find_backup_file_name. Reported by Eli Zaretskii. | |||
1996-09-05 | (do_copy): When concatenating DEST (with a trailing `/') and the basename | Jim Meyering | |
part of non-directory SOURCE, don't add a slash between them. | |||
1996-08-19 | Include path-concat.h. | Jim Meyering | |
(do_copy): Check path_concat return value. (path_concat): Remove function. | |||
1996-07-31 | (DO_CHOWN): New macro -- derived from code in copy. | Jim Meyering | |
(copy): Use DO_CHOWN to assure that any newly-created symbolic links have proper owner and group. | |||
1996-07-20 | (path_concat): Rewrite to return new parameter. | Jim Meyering | |
(do_copy): Update uses of path_concat to use new parameter. Use that new pointer to compute correct offset for make_path_private. Before, cp --recursive --parents SRC DEST failed when SRC was an absolute file name. E.g., % cd /tmp; rm -rf d f; mkdir d; touch f; cp -PR /tmp/f d cp: tmp: No such file or directory Reported by Horst von Brand vonbrand@sleipnir.valparaiso.cl. |