Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-04 | some small nonfunctional tweaks. ok beck millert | Ted Unangst | |
2007-07-26 | STDIN_FILENO is better than fileno(stdin); zinovik@cs.karelia.ru | Theo de Raadt | |
2006-04-25 | various small lint cleanups; ok otto | Theo de Raadt | |
2006-03-17 | Call fts_close(); from NetBSD's Coverity analysis; ok jaredy@ millert@ | Otto Moerbeek | |
2005-11-09 | Handle dir not readable case. Problem noted by chefren. ok hshoexer@ jaredy@ | Otto Moerbeek | |
2004-12-13 | Only warn if we try to cp(1) a socket. Consequently, this makes | Otto Moerbeek | |
mv(1)ing trees containing sockets across filesystems much more smooth. ok millert@ tedu@ fgsch@ pedro@ deraadt@ | |||
2003-10-30 | Fix typo in comment; Bruno Rohee | Todd C. Miller | |
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-06-01 | Undo a misguided attempt to fix speling errors from long ago. UCB | Todd C. Miller | |
copyrights say "acknowledgement", not "acknowledgment". You cannot just go changing the text of a license willy-nilly. | |||
2003-05-02 | Zap unused STRIP_TRAILING_SLASH macro. | Nils Nordman | |
Ok millert@. | |||
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-01-06 | Set directory mode/user/times on the post-order pass, not pre-order. | Todd C. Miller | |
Fixes a problem with "cp -R" (and probably cp -p) with directories that do not grant the owner write permission. However, we need to know whether or not we created the directory ourselves so stash that fact in fts_pointer (treat it as a boolean) but add a macro to access it for readability. This also allows me to remove the duplicated file times setting code for "cp -p". Closes PR 3058; deraadt@ OK | |||
2002-07-04 | ansi | Theo de Raadt | |
2002-06-09 | knf | Todd T. Fries | |
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. | |||
2001-06-25 | explicit braces to avoid ambiguous else | Artur Grabowski | |
2001-06-22 | Avoid printing warnings about things like "is a directory" twice. | Todd C. Miller | |
Found by fgs. | |||
2001-06-06 | In -p mode, set directory times in post-order pass since otherwise the | Todd C. Miller | |
times get squashed when we add files to the dir. Problem found by Christophe.Deroulers@ens.fr, fix by me. | |||
2000-02-20 | setlocale and get rid of unneeded exit() call. millert@ ok | Eric Jackson | |
1999-05-06 | "cp -f" should unlink the destination before copying. Similar to | Todd C. Miller | |
a patch from FreeBSD (but this is simpler). Closes PR #821 | |||
1998-07-03 | Fix handling of trailing slashes. Don't ever strip them, because that's | Constantine Sapuntzakis | |
the way the user tells us that he really wants a directory. Also, a trailing slash does not mean that the last component is null (in fact, according to POSIX, a component can't be 0 bytes). Rather, the last component is the one directly preceding the trailing slashes. | |||
1997-11-08 | spelling | Todd T. Fries | |
1997-09-20 | Don't strip trailing '/' in source, fts(3) now does this for us. | Todd C. Miller | |
1997-09-01 | i am bored enough to fix terminal space/tab uglies | Theo de Raadt | |
1997-08-23 | Strip trailing slashes from source (we already did dest). | Todd C. Miller | |
Also, use MAXPATHLEN, not MAXPATHLEN+1 | |||
1997-07-23 | tabify | kstailey | |
1997-01-15 | getopt(3) returns -1 when out of args, not EOF, whee! | Todd C. Miller | |
1996-12-14 | -Wall'ing. | Michael Shalayeff | |
1996-10-28 | Don't strip off the last slash in the pathname "/". cp used to | Thorsten Lockert | |
stat the pathname "" in order to decide that the pathname "/" is a directory. This caused `cp kernel /' to fail if the kernel has the POSIX behaviour of not allowing the pathname "" to be an alias for ".". It presumably also caused `cp /etc/motd /' to fail in the unlikely event that "." is not stat'able. Be more careful about concatenating pathnames: don't check that the pathname fits until prefixes have been discarded (the check was too strict). Print the final pathname in error messages. Terminate the target directory name properly for error messages. Don't add a slash between components if there is already a slash. Fix from FreeBSD | |||
1996-08-02 | zap getopt() case of -?, come on, it is the default! | Theo de Raadt | |
1996-06-23 | update rcsid | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |