summaryrefslogtreecommitdiff
path: root/src/mv.c
AgeCommit message (Collapse)Author
1997-06-29(copy_reg): New parameter, SOURCE_STATS.Jim Meyering
(do_move): Update caller. (movefile): Take new boolean parameter, DEST_IS_DIR, to save a stat per moved file when the destination is a directory. (main): Call movefile with additional argument. (strip_trailing_slashes_2): New function. (movefile): Remove trailing slashes from dest. Otherwise, stat ("b/") fails with ENOTDIR on systems including Linux w/libc 2.0.30. Reproduce with `rm -rf a b; mkdir a; touch b; ./mv a b/'. (do_move): Fix misleading comment.
1997-05-27Use base_name, not basename.Jim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1996-11-23(usage): Alphabetize option descriptions the way sort -f would.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim Meyering
1996-08-31(usage): remove spurious trailing \n in puts.Jim Meyering
1996-08-29(usage): Tell where to report bugs.Jim Meyering
1996-08-19Include path-concat.h.Jim Meyering
(movefile): Use path_concat instead of open-coding its functionality. Declare pointer parameters const as appropriate.
1996-07-06(usage): Factor out backup-related text into separate string/printf statement.Jim Meyering
1996-07-05(usage): Remove space before newline in usage message.Jim Meyering
1996-05-28(main): Don't mark "%s" as a translatable string.Jim Meyering
From Göran Uddeborg.
1996-05-15(main): Restructure pluralization of error message so it's easier to translate.Jim Meyering
1996-04-24update Copyright years for 1996Jim Meyering
1996-04-24[HAVE_LCHOWN]: Define chown to lchown.Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1995-11-29Mark all translatable strings using po-mode.el.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-15Break long lines.Jim Meyering
1995-11-10Remove fwd dcls.Jim Meyering
1995-11-10Don't protoize dcl of basename.Jim Meyering
1995-11-09Rearrange functions to obviate forward dcls.Jim Meyering
Remove forward dcls.
1995-11-09Protoize.Jim Meyering
1995-11-03(do_move): Use euidaccess instead of euidaccess_stat.Likewise.Jim Meyering
1995-06-22(main): Include program name in --version output.Jim Meyering
1995-05-22(usage): Add one or two lines of descriptive text.Jim Meyering
1995-05-13Use stat (lstat), not safe_stat (safe_lstat).Jim Meyering
1995-05-13(movefile): Remove a single trailing slash from destdir before concatenatingJim Meyering
with `/' and filename for `ok to overwrite...' message.
1995-03-10add 1995 to Copyright datesJim Meyering
1995-01-27Rename SAFE_STAT and SAFE_LSTAT to lower case names.Jim Meyering
1994-12-27Include "error.h" rather than simply declaring `void error ();'.Jim Meyering
1994-10-02.Jim Meyering
1994-07-30.Jim Meyering
1994-07-01.Jim Meyering
1994-04-16.Jim Meyering
1994-01-26.Jim Meyering
1993-12-17merge with 3.9bJim Meyering
1993-10-26merge with 3.9aJim Meyering
1993-10-19merge with 3.8.4kJim Meyering
1993-10-18add newline back, but only for --help outputJim Meyering
1993-10-18Change `fprintf (stdout' to `printf ('.Jim Meyering
1993-10-18remove extra newline in usage messageJim Meyering
1993-10-13merge with 3.8.4eJim Meyering