summaryrefslogtreecommitdiff
path: root/bin/mv/mv.c
AgeCommit message (Expand)Author
2007-02-16Allow moving files starting with a dash acrossMoritz Jodeit
2005-06-30Set tv_usec sensibly when calling utimes() instead of just zeroing it.Todd C. Miller
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondJared Yanovich
2004-12-13Use warnx() instead of warn() in four places where we know errno is zero.Otto Moerbeek
2003-07-29spacingTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-03-21Fix some typos in comments; Patrick LatifiTodd C. Miller
2003-03-13Use the return value of strcpy() to detect ENAMETOOLONG instead ofTodd C. Miller
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-25Stat source path at the top of do_move() and return an error ifTodd C. Miller
2002-01-16missed some registers, kill'em!Mike Pechkin
2001-12-01KNFTheo de Raadt
2001-09-06o) __progname aria;Mike Pechkin
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-01-08Fix a bug in previous commit; we need a separate stat buffer forTodd C. Miller
2001-01-06Fix 3 cases related to symbolic links when moving between filesystes:Todd C. Miller
1999-12-24Try to preserve file flags in mv (Kamo Hiroyasu <wd@ics.nara-wu.ac.jp>)Angelos D. Keromytis
1999-07-26When using the -i option, check for the existence of the source file beforeAaron Campbell
1999-01-12use pid_tAaron Campbell
1998-07-02indentTheo de Raadt
1998-07-02Fix mv b/ a where a is a directory.Constantine Sapuntzakis
1998-05-18MAXPATHLEN not MAXPATHLEN+1, no buf oflow of targdirTheo de Raadt
1997-09-28avoid looping on question; wosch@freebsdTheo de Raadt
1997-04-12don't print more directory slashes than user specified on error.michaels
1997-03-01Error out if someone tries to mv a mount point. Old behavior was toTodd C. Miller
1997-02-02Remember errno if fchown() fails so we get correct warningsThorsten Lockert
1996-12-14-Wall'ing.Michael Shalayeff
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-07-30regarding freebsd pr#1351 & pr#1377 re: fastcopy(); kill "wrong gid butTheo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt