Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-28 | In -f mode, don't print a warning if source and target already point | Todd C. Miller | |
to the same inode. This is consistent with other implementations. OK deraadt@ miod@ ray@ | |||
2007-09-16 | "source" and "target" can be either files or directories; | Igor Sobrado | |
cp(1) and ln(1) must have a synopsis consistent with mkdir(1), mv(1), rmdir(1) and others ok jmc@, millert@, otto@ | |||
2007-07-31 | Adapted from DragonflyBSD revisions 1.10 and 1.11: warn when source | Ray Lai | |
and target are identical. When -f is specified, don't delete source. OK sobrado, feedback from paesco, kettenis, and tedu. | |||
2006-04-25 | mark usage() __dead | Theo de Raadt | |
2005-12-02 | Make usage() and manual match. OK jmc, deraadt | Chad Loder | |
2005-04-15 | check snprintf return value and abort if the concatenated path is too | Uwe Stuehler | |
long instead of using the truncated path. also, use the strerror() database instead of repeating the text here. ok krw@, millert@ | |||
2004-12-17 | sync usage | Jared Yanovich | |
manpage: - indent examples - document exit status ok jmc | |||
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-05-04 | The custom logic used for determining the basename of source file | Nils Nordman | |
was flawed in that it did not account for trailing slashes. Use basename(3) instead. Fixes invocations where target is a directory and source has a trailing slash (e.g. ln -s /tmp/ .). Ok millert@. | |||
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. | |||
2001-08-09 | Actually use the statf function pointer which I missed while hand-patching. | Todd C. Miller | |
Also, don't mention the -h and -n flags for the 2nd usage line since they are no-ops in that case. | |||
2001-08-09 | Add -h flag to prevent following a symlink to a dir as the dest. | Todd C. Miller | |
Also add -n as an alias for -h for compat with GNU ln. Patch from Phil.Pennock@globnix.org with minor changes by me. | |||
1996-12-14 | -Wall'ing. | Michael Shalayeff | |
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 | |