Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-01 | stop linking mv(1) to libutil, since that isn't used. | Gleydson Soares | |
OK guenther@ nicm@ | |||
2015-12-27 | remove unused variable | Charles Longeau | |
ok tedu@ | |||
2015-12-26 | Set the times, mode, and flags on symlinks when doing cp -p (or mv across | Philip Guenther | |
filesystems) problem noted by Carsten Kunze (carsten.kunze (at) arcor.de) | |||
2015-11-27 | the rm code in mv inherited pledge from rm. it shoud be safe, but there | Ted Unangst | |
are cases when it is too strict. after pledge() we continue to run some of the cp code which requires a very broad set of permissions. remove pledge entirely for now, pending a complete analysis of needs. | |||
2015-11-17 | as in rm, needs getpw in pledge | Ted Unangst | |
2015-11-17 | don't need locale header anymore | Ted Unangst | |
2015-11-17 | overwriting code isn't used | Ted Unangst | |
2015-11-17 | remove some more flags | Ted Unangst | |
2015-11-17 | trim down the flags in rm | Ted Unangst | |
2015-11-17 | remove Rflag and pflag (1) and rflag (0). | Ted Unangst | |
2015-11-17 | remove getopt() from the nested cp and rm mains | Ted Unangst | |
2015-11-17 | direct copy of cp and rm code into mv, so it can avoid fork+exec. | Ted Unangst | |
some or even most of the code can still be streamlined more. ok deraadt | |||
2015-10-06 | we're running rm. call it rm too. | Ted Unangst | |
2015-08-24 | In fastcopy(), do the required malloc() before opening input or output file. | Philip Guenther | |
problem noted by Martijn van Duren (martijn987 (at) gmail.com) | |||
2015-05-03 | Preserve times to nanosecond precision instead of just microsecond. | Philip Guenther | |
Prefer to set attributes by fd for regular files, and not follwing symlinks for others. ok brynet@ millert@ | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-07-21 | don't try to be clever and name the _PATH_CP exec "mv", since this | Theo de Raadt | |
breaks the instbin argv[0] mechanism found by landry, ok guenther | |||
2014-05-21 | Use errc/warnc to simplify code. | Philip Guenther | |
ok jca@ krw@ | |||
2012-06-18 | s/empy/empty/ typo fix | Matthew Dempsky | |
thx Scott McEachern | |||
2011-06-16 | fix error in previous; | Jason McIntyre | |
2011-06-15 | consistently specify that -f and -i override previous options in each | Ted Unangst | |
option's description. jmc points out this works better than deferring such information to a post-options sentence. | |||
2010-12-28 | a colon is not needed here; | Jason McIntyre | |
2010-12-27 | 1) Fix the pseudo-code explaining cross-filesystem moves. | Ingo Schwarze | |
2) Explain more precisely which moves are denied and what happens then, and move this information from CAVEATS to DESCRIPTION. 3) Slightly expand the example below CAVEATS to show another detail that may cause unpleasant surprises. Triggered by a patch from tedu@, feedback and ok jmc@, ok tedu@. | |||
2010-09-03 | add an EXIT STATUS section for /bin; | Jason McIntyre | |
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-02-08 | bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few | Jason McIntyre | |
updates to follow; | |||
2008-10-21 | various doc fixes related to how mv handles symlinks | Jason McIntyre | |
and file system traversal; this is work from Ingo Schwarze, tweaked a little by myself, and we borrowed half a sentence from the netbsd man page too; ok sobrado | |||
2008-05-26 | get the argument name right; from Jacek Masiulaniec | Jason McIntyre | |
2007-07-27 | Separate code a little, making it clearer. From Gilles Chehade | Ray Lai | |
<root at evilkittens dot org>. Reset blen on malloc failure. Match blen type with st_blksize. OK moritz@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-29 | - consistent STANDARDS blurb | Jason McIntyre | |
- note which options are extensions to POSIX discussed w/ deraadt otto millert | |||
2007-02-16 | Allow moving files starting with a dash across | Moritz Jodeit | |
file system boundaries. Noticed by Roland Illig. ok otto@ millert@ jaredy@ | |||
2006-08-10 | - use .Ex | Jason McIntyre | |
- bump .St - standard EXAMPLES - macro cleanup | |||
2006-08-10 | better explanation of second synopsis form; add a caveat also | Jason McIntyre | |
started by freebsd pr #101330, from peter gildea diff from otto and myself | |||
2005-06-30 | Set tv_usec sensibly when calling utimes() instead of just zeroing it. | Todd C. Miller | |
We have nsec file times so we may as well use them... | |||
2005-04-08 | Sync with recent realpath(3) changes: on failure, don't use the second | Jared Yanovich | |
argument "resolved", since it is undefined. ok and help millert, otto | |||
2004-12-13 | Use warnx() instead of warn() in four places where we know errno is zero. | Otto Moerbeek | |
ok henning@ fgsch@ pedro@ millert@ | |||
2003-07-29 | spacing | Theo de Raadt | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-03-21 | Fix some typos in comments; Patrick Latifi | Todd C. Miller | |
2003-03-13 | Use the return value of strcpy() to detect ENAMETOOLONG instead of | Todd C. Miller | |
doing an extra strlen; deraadt@ OK | |||
2003-03-13 | lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu | Theo de Raadt | |
2003-03-12 | more .Li | Theo de Raadt | |
2002-07-04 | ansi | Theo de Raadt | |
2002-02-18 | change -pr to -PRp (ok mpech@, millert@) | Mark Grimes | |
Closes PR2258 | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2002-02-11 | Initial patch. | Mike Pechkin | |
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok | |||
2002-01-25 | Stat source path at the top of do_move() and return an error if | Todd C. Miller | |
this fails. Previously, "mv nonexistent file_with_no_write_perms" would prompt whether or not to overwrite the file w/o write perms even though 'nonexistent' would fail to lstat() later on. | |||
2002-01-16 | missed some registers, kill'em! | Mike Pechkin | |
millert@ ok | |||
2001-12-21 | Initial patch for a new mdoc issue. | Mike Pechkin | |
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok |