Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2002-07-04 | ansi | Theo de Raadt | |
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-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-01 | KNF | Theo de Raadt | |
2001-09-06 | o) __progname aria; | Mike Pechkin | |
millert@ ok. | |||
2001-07-09 | correct type on last arg to execl(); nordin@cse.ogi.edu | Theo de Raadt | |
2001-01-08 | Fix a bug in previous commit; we need a separate stat buffer for | Todd C. Miller | |
the "from" file due to changing the order of stat calls. | |||
2001-01-06 | Fix 3 cases related to symbolic links when moving between filesystes: | Todd C. Miller | |
1) incorrectly refused to move a symlink to a mount point 2) refused to move a symlink to a non-existent file 3) copied the contents of a symlink instead of the link itself. Closes PR 1368; james@oaktree.co.uk | |||
1999-12-24 | Try to preserve file flags in mv (Kamo Hiroyasu <wd@ics.nara-wu.ac.jp>) | Angelos D. Keromytis | |
1999-07-26 | When using the -i option, check for the existence of the source file before | Aaron Campbell | |
asking for confirmation, and if it doesn't exist, just complain and exit. This is NetBSD PR/8073; deraadt@ ok. | |||
1999-01-12 | use pid_t | Aaron Campbell | |
1998-07-02 | indent | Theo de Raadt | |
1998-07-02 | Fix mv b/ a where a is a directory. | Constantine Sapuntzakis | |
1998-05-18 | MAXPATHLEN not MAXPATHLEN+1, no buf oflow of targdir | Theo de Raadt | |
1997-09-28 | avoid looping on question; wosch@freebsd | Theo de Raadt | |
1997-04-12 | don't print more directory slashes than user specified on error. | michaels | |
Reported by Nick Sayer (nsayer@quack.kfu.com) in FreeBSD pr bin/3025. | |||
1997-03-01 | Error out if someone tries to mv a mount point. Old behavior was to | Todd C. Miller | |
move all files contained in the mounted filesystem to the dest. dir which could be quite nasty. Personally, I think rename(2) should return EPERM or EINVAL instead of EXDEV. | |||
1997-02-02 | Remember errno if fchown() fails so we get correct warnings | Thorsten Lockert | |
Only warn about not being able to restore user/group owner if not -f | |||
1996-12-14 | -Wall'ing. | Michael Shalayeff | |
1996-08-02 | zap getopt() case of -?, come on, it is the default! | Theo de Raadt | |
1996-07-30 | regarding freebsd pr#1351 & pr#1377 re: fastcopy(); kill "wrong gid but | Theo de Raadt | |
group-readable" window; do not setuid/setgid if fchown() fails. | |||
1996-06-23 | update rcsid | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |