Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-05-12 | (strip_trailing_slashes): Remove; now in dirname.h. | Jim Meyering | |
(make_path_private): Use dir_len instead of dir_name, and avoid an extra mealloc call. | |||
2001-02-03 | (long_opts): Use `strip-trailing-slashes', | Jim Meyering | |
per the documetation, not `strip-trailing-slash'. | |||
2001-01-07 | (usage): Split a string that was longer than 2048 bytes. | Jim Meyering | |
2000-10-29 | (do_copy): When constructing dst_path for use with the | Jim Meyering | |
--parents option, first remove any trailing slashes from the command line argument. Otherwise, tests/cp/cp-parent would fail on NetBSD. | |||
2000-10-22 | (make_path_private): Add a FIXME comment. | Jim Meyering | |
2000-09-25 | (usage): Match revised documentation better. | Jim Meyering | |
2000-09-24 | (main): Tweak a relatively new diagnostic. | Jim Meyering | |
2000-09-22 | (main): When used with --force, each of the --link and | Jim Meyering | |
--symbolic-link options now implies --remove-destination. | |||
2000-09-04 | Move declaractions of lstat, stat, and rpl_lstat | Jim Meyering | |
as well as the definition of lstat from here to copy.h. | |||
2000-09-03 | (enum): Add UNLINK_DEST_BEFORE_OPENING. | Jim Meyering | |
[long_options]: Add an entry for --remove-destination. (usage): Describe --remove-destination. (do_copy): Use unlink_dest_after_failed_open member, not `force.' (cp_option_init): Initialize new members. (main): Handle UNLINK_DEST_BEFORE_OPENING (aka --remove-destination). | |||
2000-08-26 | (usage): --force is independent of --interactive. | Jim Meyering | |
2000-08-20 | (long_opts): Add --dereference, -L. | Jim Meyering | |
(usage): Describe -L and -H. (cp_option_init): Initialize to DEREF_UNDEFINED, not `1'. (main): Add `H' and `-L' to getopt spec string. [case 'a']: Initialize `dereference' to DEREF_NEVER, not 0. [case 'd']: Likewise. [case 'H']: New case. [case 'L']: New case. [case 'R']: Don't set dereference to `0' here. If it's not yet defined, set x.dereference to DEREF_NEVER if -R was specified, else set it to DEREF_ALWAYS. Set x.xstat accordingly for -H. | |||
2000-08-08 | (usage, main): For cp -P messages, mention the new behavior as well as the old. | Jim Meyering | |
2000-08-08 | Invoke xalloc_die instead of printing our own message. | Jim Meyering | |
2000-08-07 | (enum) [PARENTS_OPTION]: New member. | Jim Meyering | |
(long_opts): Update "parents" and deprecated "path" entries to use `PARENTS_OPTION', not `P'. (usage): Update --help output. (main): Warn that the meaning of `-P' will soon change. | |||
2000-07-30 | tweak diagnostic | Jim Meyering | |
2000-07-25 | tweak diagnostic | Jim Meyering | |
2000-07-25 | Convert "`%s'" in format strings to "%s", and wrap each | Jim Meyering | |
corresponding argument in a `quote (...)' call. Add more precise diagnostics. | |||
2000-07-23 | Fix cp so that `cp -r DIR1/ DIR2' works once again. | Jim Meyering | |
(ASSIGN_BASENAME_STRDUPA): New macro. (do_copy): Use it here (so we always strip trailing slashes before calling base_name). | |||
2000-07-15 | Convert "`%s'" in format strings to "%s", and wrap each | Jim Meyering | |
corresponding argument in a `quote (...)' call -- if there's only one. If there are more than one, then use `quote_n (0, ...), quote_n (1, ...), ...'. | |||
2000-05-13 | Arrange to call close_stdout only upon exit. | Jim Meyering | |
2000-05-12 | Unlike for mv, -i doesn't cancel the effect of -f | Jim Meyering | |
and -f doesn't cancel the effect of -i. (main) ['f']: Don't reset `x.interactive'. ['i']: Don't reset `x.force'. | |||
2000-04-29 | [LSTAT_FOLLOWS_SLASHED_SYMLINK] (lstat): Define to rpl_lstat. | Jim Meyering | |
2000-04-16 | New option: --strip-trailing-slashes. | Jim Meyering | |
(enum) [STRIP_TRAILING_SLASHES_OPTION]: New member. (remove_trailing_slashes): New global. (long_opts): New getopt spec. (usage): Describe. (do_copy): Strip trailing slashes on SOURCE names only if the new option has been specified. (main): New case. | |||
2000-04-08 | Document that while the --backup option takes an | Jim Meyering | |
optional argument, the -b option accepts none. (main): Use `backup type' in call to xget_version, not the now-deprecated `--version-control'. | |||
1999-12-27 | tweak --help | Jim Meyering | |
1999-12-09 | (enum): Remove useless CHAR_MAX + 2 | Jim Meyering | |
1999-11-01 | (usage): Warn about mixing use of `-r' with FIFOs and | Jim Meyering | |
other special files like /dev/zero. | |||
1999-10-31 | tweak usage | Jim Meyering | |
1999-10-30 | (usage): Tweak --backup description | Jim Meyering | |
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 | |