History log of /src/bin/mv |
Revision | Date | Author | Comments |
1.9 | 30-Nov-2002 |
lukem | branches: 1.9.98; don't need -lutil here
|
1.8 | 20-Jul-1997 |
christos | Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc now that all /bin has been cleaned.
|
1.7 | 20-Jul-1997 |
christos | Fix compiler warnings. Add WARNS=1
|
1.6 | 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
1.5 | 22-Sep-1994 |
mycroft | Merge 4.4-Lite version.
|
1.4 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.3 | 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
1.2 | 22-Mar-1993 |
cgd | added rcs ids to all files
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 22-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.9.98.2 | 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
1.9.98.1 | 21-Apr-2020 |
martin | Sync with HEAD
|
1.32 | 24-Jun-2020 |
riastradh | Note that -h is an extension to POSIX. Bump date.
|
1.31 | 24-Jun-2020 |
riastradh | New mv -h option.
`mv -h source target' just issues rename(source, target) without discriminating on whether target resolves to a directory; this way you can atomically replace a symlink to a directory.
|
1.30 | 04-Jul-2017 |
wiz | branches: 1.30.6; Use Ex.
|
1.29 | 03-Jul-2017 |
wiz | Remove workaround for ancient HTML generation code.
|
1.28 | 10-Aug-2016 |
sevan | Forgot to bump date with previous commit
|
1.27 | 10-Aug-2016 |
sevan | Document the version mv first appeared.
|
1.26 | 22-Mar-2012 |
wiz | Fix whitespace nits. Suggested by Bug Hunting.
|
1.25 | 11-Mar-2009 |
joerg | branches: 1.25.6; Remove redundant tabs
|
1.24 | 07-Aug-2003 |
agc | branches: 1.24.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
1.23 | 25-Feb-2003 |
wiz | .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
1.22 | 19-Jan-2003 |
jdolecek | insert a paragraph break between the option list and following text
|
1.21 | 28-Dec-2002 |
wiz | Restore word that got removed when -v was added.
|
1.20 | 28-Dec-2002 |
wiz | Whitespace nits.
|
1.19 | 26-Dec-2002 |
jrf | Added verbose extension and updated manual pages. Changes approved by Klaus Klein.
|
1.18 | 08-Feb-2002 |
ross | Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
|
1.17 | 20-Dec-2001 |
wiz | Drop unnecessary .Pps.
|
1.16 | 20-Dec-2001 |
wiz | Whitespace nits.
|
1.15 | 19-Jun-2001 |
wiz | `existent', not `existant'
|
1.14 | 04-Sep-2000 |
kleink | For commands and utilities, use EXIT STATUS rather than RETURN VALUES as appropriate (and documented in mdoc(7)).
|
1.13 | 28-Aug-2000 |
hubertf | Add 'RETURN VALUE' section header.
|
1.12 | 02-Aug-1999 |
sommerfeld | branches: 1.12.8; Fix PR8073: bogons in mv(1) man page. don't bother prompting for mv -i if source doesn't exist
|
1.11 | 20-Apr-1998 |
ross | s/cp -pr/cp -PRp/ in the discussion of the cross-device cp(1) operation.
|
1.10 | 20-Oct-1997 |
enami | branches: 1.10.2; Fix .Nm usage.
|
1.9 | 27-Aug-1997 |
kleink | Suppress stray space character; from maximum entropy in PR bin/4049.
|
1.8 | 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
1.7 | 22-Sep-1994 |
mycroft | Merge 4.4-Lite version.
|
1.6 | 11-Jan-1994 |
jtc | Fix spelling errors.
|
1.5 | 22-Sep-1993 |
jtc | Bring closer to POSIX.2 compliance. The latter of any -i or -f options is the one that is actually effective.
|
1.4 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
1.3 | 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
1.2 | 22-Mar-1993 |
cgd | added rcs ids to all files
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 22-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.10.2.1 | 08-May-1998 |
mycroft | Pull up 1.11, per request of ross.
|
1.12.8.1 | 28-Aug-2000 |
hubertf | Pull up to netbsd-1-5 branch, OK'd by thorpej:
Log Message: > Add 'RETURN VALUE' section header.
Files & Revisionis: > cvs rdiff -r1.19 -r1.20 basesrc/bin/cat/cat.1 > cvs rdiff -r1.12 -r1.13 basesrc/bin/chmod/chmod.1 > cvs rdiff -r1.14 -r1.15 basesrc/bin/cp/cp.1 > cvs rdiff -r1.8 -r1.9 basesrc/bin/dd/dd.1 > cvs rdiff -r1.9 -r1.10 basesrc/bin/echo/echo.1 > cvs rdiff -r1.11 -r1.12 basesrc/bin/expr/expr.1 > cvs rdiff -r1.25 -r1.26 basesrc/bin/ls/ls.1 > cvs rdiff -r1.10 -r1.11 basesrc/bin/mkdir/mkdir.1 > cvs rdiff -r1.23 -r1.24 basesrc/bin/mt/mt.1 > cvs rdiff -r1.12 -r1.13 basesrc/bin/mv/mv.1 > cvs rdiff -r1.16 -r1.17 basesrc/bin/pwd/pwd.1 > cvs rdiff -r1.9 -r1.10 basesrc/bin/rm/rm.1 > cvs rdiff -r1.11 -r1.12 basesrc/bin/rmdir/rmdir.1 > cvs rdiff -r1.35 -r1.36 basesrc/bin/sh/sh.1 > cvs rdiff -r1.11 -r1.12 basesrc/bin/sleep/sleep.1 > cvs rdiff -r1.20 -r1.21 basesrc/bin/stty/stty.1
|
1.24.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.25.6.1 | 17-Apr-2012 |
yamt | sync with head
|
1.30.6.2 | 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
1.30.6.1 | 21-Apr-2020 |
martin | Sync with HEAD
|
1.46 | 24-Jun-2020 |
riastradh | New mv -h option.
`mv -h source target' just issues rename(source, target) without discriminating on whether target resolves to a directory; this way you can atomically replace a symlink to a directory.
|
1.45 | 28-Feb-2016 |
mrg | branches: 1.45.16; add SIGINFO for mv(1), largely based upon the support in cp(1).
|
1.44 | 02-Mar-2015 |
enami | Don't truncate at microseconds while preserving timestamps.
One of motivation of this change is to make the behavior of test(1) -nt/ot with preserved copy (like cp -p) closer to the NetBSD 6. Of course whether full timestamps are kept or not depends also on underlying file system.
The ifdef added in mv(1) since existing ifdefs was our local change to compile it on solaris (though I couldn't test it): http://mail-index.netbsd.org/tech-userlevel/2014/11/28/msg008831.html
|
1.43 | 29-Aug-2011 |
joerg | branches: 1.43.22; 1.43.24; static + __dead
|
1.42 | 03-Aug-2011 |
manu | Make cp -p and mv preverve extended attributes, and complain if they cannot.
Also introduce library functions for copying extended attributes from one file to another: - extattr_copy_file, extattr_copy_fd, extattr_copy_link, with FreeBSD style, where a namespace is to be supplied - cpxattr, fcpxattr, lcpxattr, with Linux style, where all namespaces accessible to the caller are copied, and the others are silently ignored.
|
1.41 | 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings.
|
1.40 | 25-May-2008 |
christos | PR/38738: murray armfield: Fix type of blen, and reset it on error path. From OpenBSD.
|
1.39 | 16-Jan-2008 |
hubertf | branches: 1.39.4; 1.39.6; Code cleanup: - Removed case '?' before default in switch - Don't forget to close opened decriptors when malloc() fails - Hold vfork() result in variable with pid_t type (instead of int)
Sent ages ago by Slava Semushin <php-coder@altlinux.ru> in private mail.
|
1.38 | 15-Feb-2007 |
rillig | branches: 1.38.4; Allow files whose name starts with a dash be moved across filesystem boundaries.
This fix was inspired by the recent -froot zero day exploit for Solaris.
|
1.37 | 23-Sep-2006 |
elad | PR/33396: Christian Biere: Global Warming may be caused by mv(1) Applied patch, thanks!
|
1.36 | 21-Aug-2006 |
christos | - detect buffer overflow. - if we have a trailing slash, don't add another one.
|
1.35 | 03-Jun-2005 |
hubertf | branches: 1.35.2; the case of waitpid() returning an error was already tested, and errno printed for that case. the tests for the return code don't have errno set, so don't try to print it.
By Liam J. Foy <liamfoy sepulcrum.org>, posted to tech-userlevel@.
|
1.34 | 04-Jan-2004 |
jschauma | branches: 1.34.6; remove unused code left from printescaped() backput as pointed out by Jeff Ito in PR bin/23969 and PR bin/23970.
|
1.33 | 14-Sep-2003 |
jschauma | Following private discussion with kleink@ and hubertf@ and public discussion on tech-userlevel@, back out printescaped() functionality. kleink: ``We sell rope.''
|
1.32 | 13-Aug-2003 |
itojun | use bounded string op
|
1.31 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
1.30 | 04-Aug-2003 |
jschauma | As discusses a little while back on tech-userlevel:
If stdout is a tty, use vis(3) to print any filenames to prevent garbage from being printed if the filename contains control- or other non-printable characters.
While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
|
1.29 | 13-Jul-2003 |
itojun | use bounded string op
|
1.28 | 26-Dec-2002 |
jrf | Added verbose extension and updated manual pages. Changes approved by Klaus Klein.
|
1.27 | 16-Sep-2001 |
wiz | ANSIfy, KNF, use [gs]etprogname. By Petri Koistinen, slightly modified by me.
|
1.26 | 16-Jul-2000 |
darrenr | don't emit a warning message if fchflags() returns EOPNOTSUPP
|
1.25 | 15-Jul-2000 |
darrenr | From FreeBSD: To make inherit file flags when mv(1) moves file between directories on different file systems.
|
1.24 | 14-Dec-1999 |
jdolecek | fix typo
|
1.23 | 09-Nov-1999 |
drochner | Since our gcc doesn't warn about NULL format strings anymore, we can fix the incorrect err(1, "%s", "") et al. Closes PR bin/7592 by cgd.
|
1.22 | 16-Aug-1999 |
christos | branches: 1.22.4; make this compile on non bsd-4.4 systems
|
1.21 | 02-Aug-1999 |
sommerfeld | Fix PR8073: bogons in mv(1) man page. don't bother prompting for mv -i if source doesn't exist
|
1.20 | 04-Nov-1998 |
christos | use utimes, if we don't have futimes.
|
1.19 | 28-Jul-1998 |
mycroft | Be more retentive about use of NOTREACHED and noreturn.
|
1.18 | 28-Jul-1998 |
mycroft | Delint.
|
1.17 | 28-Jul-1998 |
mycroft | Delint.
|
1.16 | 19-Oct-1997 |
mycroft | If we fail to set ownership, turn off SUID and SGID bits (like cp(1)). Use futimes(2), and actually fill in the microsecond field.
|
1.15 | 19-Oct-1997 |
mikel | use lstat() instead of stat() when determining type of 'from' file; from John F. Woods in PR bin/4288. Also fixed a similar check of the 'to' file, so we don't try to rmdir() symlinks to directories; and fixed typo in a comment.
|
1.14 | 08-Oct-1997 |
kleink | * Initialize native locale on startup. * When using the form "mv src ... dir", strip off trailing slashes from `src' arguments to provide 1003.2 semantics.
|
1.13 | 07-Oct-1997 |
hubertf | Be silend if owner can't be set on cross-device-moved. Fixes PR bin/1223 by John F. Woods <jfw@jfwhome.funhouse.com>.
|
1.12 | 20-Jul-1997 |
christos | include <pwd.h> and <grp.h> to bring prototypes into scope.
|
1.11 | 20-Jul-1997 |
christos | Fix compiler warnings. Add WARNS=1
|
1.10 | 09-Jan-1997 |
tls | kill use of register
|
1.9 | 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
1.8 | 22-Sep-1994 |
mycroft | Merge 4.4-Lite version.
|
1.7 | 09-Nov-1993 |
jtc | Check user's response against both 'Y' and 'y' --- this is really supposed to be a locale specific regular expression. This change hard codes POSIX locale behavior, and will be replaced by a locale independant equivalent as soon as locales are fully implemented.
|
1.6 | 22-Sep-1993 |
jtc | Bring even closer to POSIX.2 compliance. Add comments documenting the steps outlined in the standards. Steps 1-5 look good, there may be some work outstanding in the final Step 6.
|
1.5 | 22-Sep-1993 |
jtc | Bring closer to POSIX.2 compliance. The latter of any -i or -f options is the one that is actually effective.
|
1.4 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.3 | 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
1.2 | 22-Mar-1993 |
cgd | added rcs ids to all files
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 22-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.22.4.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.34.6.1 | 30-Jul-2005 |
tron | Pull up revision 1.35 (requested by hubertf in ticket #619): the case of waitpid() returning an error was already tested, and errno printed for that case. the tests for the return code don't have errno set, so don't try to print it. By Liam J. Foy <liamfoy sepulcrum.org>, posted to tech-userlevel@.
|
1.35.2.1 | 27-Aug-2006 |
riz | Pull up following revision(s) (requested by christos in ticket #53): bin/df/df.c: revision 1.71 bin/mv/mv.c: revision 1.36 bin/ls/ls.1: revision 1.61 bin/ls/ls.c: revision 1.60 -h and -[mgk] are mutually exclusive. Only use the last specified. [from zafer] Use one variable instead of 3 flags to hold the scale, so that we don't have to reset each flag. from zafer: you can have either -k or -h but not both since it does not make sense. - detect buffer overflow. - if we have a trailing slash, don't add another one.
|
1.38.4.1 | 23-Mar-2008 |
matt | sync with HEAD
|
1.39.6.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.39.6.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.39.4.1 | 04-Jun-2008 |
yamt | sync with head
|
1.43.24.1 | 04-Mar-2016 |
martin | Missing file in pullup #1096: Don't truncate at sub-microsecond while preserving timestamps.
|
1.43.22.2 | 06-Mar-2016 |
martin | Pull up following revision(s) (requested by mrg in ticket #1129): bin/mv/mv.c: revision 1.45 add SIGINFO for mv(1), largely based upon the support in cp(1).
|
1.43.22.1 | 04-Mar-2016 |
martin | Missing file in pullup #1096: Don't truncate at sub-microsecond while preserving timestamps.
|
1.45.16.2 | 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
1.45.16.1 | 21-Apr-2020 |
martin | Sync with HEAD
|
1.8 | 19-Aug-2004 |
christos | branches: 1.8.92; Deal with RESCUEDIR
|
1.7 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
1.6 | 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
1.5 | 22-Sep-1994 |
mycroft | Merge 4.4-Lite version.
|
1.4 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.3 | 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
1.2 | 22-Mar-1993 |
cgd | added rcs ids to all files
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 22-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.8.92.2 | 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
1.8.92.1 | 21-Apr-2020 |
martin | Sync with HEAD
|