summaryrefslogtreecommitdiff
path: root/src/mv.c
AgeCommit message (Collapse)Author
2004-01-21(usage): Use EXIT_SUCCESS, not 0, for clarity.Jim Meyering
(main): Don't assume EXIT_FAILURE == 1, as POSIX doesn't require it.
2003-11-09Initialized new member.Jim Meyering
2003-10-18Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS changeJim Meyering
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
2003-10-18(usage): Tweak descriptions of -i and -f so that theJim Meyering
generated `man' page is more readable. Suggestion from Dan Jacobson.
2003-09-18(WRITTEN_BY): Rename from AUTHORS.Jim Meyering
Begin each WRITTEN_BY string with `Written by ' and end it with `.'. Mark each WRITTEN_BY string as translatable.
2003-09-18revert previous changeJim Meyering
2003-09-18Update AUTHORS definition to be a comma-separated list of strings and/or updateJim Meyering
the call to parse_long_options so that `AUTHORS, NULL' are the last parameters.
2003-07-12It appears that the `#pragma alloca' included via "system.h" isJim Meyering
adequate, since join.c uses alloca, yet lacked an in-file #pragma. Remove `#pragma alloca'.
2003-06-17(main): Call initialize_main.Jim Meyering
2003-05-10(main): Handle argc < optind.Jim Meyering
2002-11-17(movefile): Don't remove trailing slashes from SOURCE.Jim Meyering
2002-08-31Change `exit (0)' to `exit (EXIT_SUCCESS)',Jim Meyering
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'.
2002-07-09(euidaccess): Remove declaration. It was unused. From Michael Stone.Jim Meyering
(yesno): Remove declaration. It too was unused.
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-06-12(do_move): Give one diagnostic, not two, when unable toJim Meyering
unlink a destination file. This bug was introduced in fileutils-3.16l. $ /bin/mv /etc/passwd /tmp /bin/mv: cannot unlink `/etc/passwd': Permission denied /bin/mv: cannot remove `/etc/passwd': Permission denied [Exit 1]
2002-06-02(do_move): Adapt to new calling sequence for rm.Jim Meyering
2002-04-25Revert last change.Jim Meyering
2002-04-22(do_move): Adjust caller of remove_init.Jim Meyering
2002-03-30(do_move): Correct a comment.Jim Meyering
2002-03-08(do_move): The first time we resort to copy/remove,Jim Meyering
call lstat `.' to get the device/inode numbers now required for rm.
2001-12-02Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions.
2001-11-23(usage): Note that ``Mandatory arguments to long options are mandatoryJim Meyering
for short options too.''
2001-11-23Split usage strings so that --help and --versionJim Meyering
descriptions are alone in their own string.
2001-11-22(cp_option_init): Initialize new member.Jim Meyering
2001-11-22(cp_option_init): Initialize new member.Jim Meyering
(main): dest_info_init now takes a parameter.
2001-10-18(movefile): Now that remember_copied xstrdup's the file name, free `new_dest'.Jim Meyering
2001-10-13(cp_option_init): Initialize new member to 1.Jim Meyering
2001-10-13(cp_option_init): Don't set it.Jim Meyering
2001-10-13* src/copy.h (struct cp_options): Rename members:Jim Meyering
s/preserve_owner_and_group/preserve_ownership/, and s/preserve_chmod_bits/preserve_mode/. * src/copy.c, src/cp.c, src/install.c, src/mv.c: Update all uses.
2001-10-06(do_move): Reflect that hash_init now takes no arguments.Jim Meyering
2001-09-28(main): Call dest_info_init if necessary.Jim Meyering
2001-09-15Accept new option: --reply={yes,no,query}Jim Meyering
Include argmatch.h. (enum) [REPLY_OPTION]: Define. (usage): Describe new option. Split long usage string into smaller pieces. (main): Handle new option.
2001-08-31(full_write): Remove decl; not needed.Jim Meyering
2001-08-14(AUTHORS): Mark string for translation, since it contains the English word ↵Jim Meyering
`and'.
2001-08-13(cp_option_init): Adjust initialization of `interactive',Jim Meyering
and initialize new member, stdin_tty. (main): Adjust initialization(s) of `interactive',
2001-08-06(usage): Correct the description of --update.Jim Meyering
2001-05-12Include "dirname.h".Jim Meyering
(strip_trailing_slashes_2): Remove; now done by strip_trailing_slashes. All callers changed.
2001-02-03(long_options): Use `strip-trailing-slashes',Jim Meyering
per the documetation, not `strip-trailing-slash'.
2001-01-10(do_move): Remove diagnostic, now that copy.c issues it.Jim Meyering
Set `fail' to nonzero in the primary `if (copy_into_self)' block rather than in its own tiny one below.
2000-10-16(rm_option_init): Remove FIXME-maybe comment.Jim Meyering
2000-09-22(do_move): Moving a directory specified with a trailingJim Meyering
slash from one partition to another, and giving it a different name at the destination would cause mv to get a failed assertion. Reported by Michael Stone. (strip_trailing_slashes_2): Move function definition to precede new first use.
2000-09-03Remove obsolete comment block.Jim Meyering
(cp_option_init): Initialize new members. (usage): Reflect the fact that --force (-f) relates only to whether mv prompts. (main): Remove uses of old `force' option member.
2000-08-20(cp_option_init): Initialize to DEREF_NEVER, not `0'.Jim Meyering
2000-08-08(movefile): Invoke xalloc_die instead of printing our own message.Jim Meyering
2000-07-30(do_move): Fix typo.Jim Meyering
2000-07-29fix spelling error in comment: s/squirelled/squirreled/.Jim Meyering
2000-07-25Convert "`%s'" in format strings to "%s", and wrap eachJim Meyering
corresponding argument in a `quote (...)' call.
2000-07-25(main): Remove unnecessary "%s" argument.Jim Meyering
2000-06-12(main): Give the correct diagnostic when using theJim Meyering
--target-dir=DIR option, but no arguments. Patch from Michael Stone. Reported by herbert@gondor.apana.org.au.
2000-05-13Arrange to call close_stdout only upon exit.Jim Meyering