Age | Commit message (Collapse) | Author |
|
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
|
|
ok deraadt@
|
|
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)
|
|
ok jca@ krw@
|
|
to directory). This doesn't reduce functionality but merely results
in a better error message when trying to use the option,
and it simplifies the code.
The -f option first appeared in AT&T Version 7 UNIX (1979), and Keith
Bostic renamed it to -F for 4.3BSD-Reno in 1990 because it conflicted
with System V and POSIX. Meanwhile, NetBSD, FreeBSD, and DragonFly
removed it, too.
From Tristan Le Guern <tleguern at bouledef dot eu>.
OK guenther@ krw@
|
|
Based on a patch from Kent R. Spillner (kspillner (at) acm.org)
ok jmc@ millert@
|
|
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
|
|
to the same inode. This is consistent with other implementations.
OK deraadt@ miod@ ray@
|
|
cp(1) and ln(1) must have a synopsis consistent with mkdir(1),
mv(1), rmdir(1) and others
ok jmc@, millert@, otto@
|
|
and target are identical. When -f is specified, don't delete source.
OK sobrado, feedback from paesco, kettenis, and tedu.
|
|
|
|
|
|
long instead of using the truncated path. also, use the strerror()
database instead of repeating the text here.
ok krw@, millert@
|
|
manpage:
- indent examples
- document exit status
ok jmc
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
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@.
|
|
|
|
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
|
Also, don't mention the -h and -n flags for the 2nd usage line since they
are no-ops in that case.
|
|
Also add -n as an alias for -h for compat with GNU ln.
Patch from Phil.Pennock@globnix.org with minor changes by me.
|
|
|
|
|
|
|
|
|