summaryrefslogtreecommitdiffstats
path: root/bin/ln
Commit message (Collapse)AuthorAgeFilesLines
* s/filesystem/file system/ as discussed on -developerstrhodes2002-08-212-5/+5
|
* Claim conformance to 1003.2-1992 instead of 1003.1-2001 due to doubtstjr2002-08-121-1/+1
| | | | | | | raised by Lukas Ertl over symbolic link handling. PR: 41576 MFC after: 1 week
* Fix an easy WARNS.markm2002-07-311-1/+1
|
* Consistently use __FBSDIDobrien2002-06-301-2/+2
|
* Check that snprintf() does not truncate the destination pathname whentjr2002-06-291-1/+6
| | | | linking into a directory.
* ln(1)'s symbolic link handling conforms to IEEE Std. 1003.1-2001, notetjr2002-06-251-1/+1
| | | | this in the Standards section.
* Correctly mark up the final command line arguments with the Ar macro fortjr2002-06-251-2/+2
| | | | the last two synopsis forms.
* Reject options, handle "--" end-of-options marker in link(1).tjr2002-05-301-4/+7
|
* mdoc(7) police: punctuation.ru2002-05-291-3/+3
|
* Note that the lutimes(2) and lchflags(2) syscalls also do not follow symlinks.tjr2002-05-261-13/+16
| | | | | | | Remove incorrect examples. PR: 25016 Submitted by: Martin Kammerhofer, Joshua Goodall
* Add lchmod(2) to the list of syscalls that do not follow symbolic links.tjr2002-05-261-1/+3
|
* Consistancy check s/file system/filesystem/trhodes2002-05-162-4/+4
| | | | Reviewed by: brian
* Add semicolon to empty default case to silence warning.jedgar2002-05-111-0/+1
|
* Fix warnings inspired by lint, a commercial lint and WARNS=4.markm2002-02-221-0/+1
|
* o __P has been reovedimp2002-02-021-11/+6
| | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-2/+0
| | | | | | set WARNS=0. Reviewed by: mike
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-2/+6
|
* Remove whitespace at EOL.dd2001-07-152-5/+5
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-102-2/+2
|
* WARNS= -> WARNS?=dd2001-06-221-1/+1
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Use PATH_MAX in preference to MAXPATHLEN.imp2001-05-291-1/+2
| | | | | Also sort declarations per style(9) (big arrays come last) while I'm in the area.
* Silence WARNS=2 and BDECFLAGS on i386 and alphakris2001-05-202-4/+7
| | | | MFC After: 1 week
* Fixed a typo.ru2001-04-271-1/+1
|
* Put a note that `-h' and `-n' is non-standard and provided only forsobomax2001-04-271-1/+6
| | | | | | compatibility purposes. Prompted by: ru
* Bring in `-h' compatability option and its alias `-n' to match NetBSD and GNUsobomax2001-04-262-14/+53
| | | | | | | semantics. style(9) Reviewed by: Obtained from: NetBSD
* MAN[1-9] -> MAN.ru2001-03-271-2/+1
|
* Note that rmdir(2) does not follow symbolic links.jdp2001-01-241-1/+6
|
* Prepare for mdoc(7)NG.ru2000-12-151-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+1
|
* Fix markup typomarko2000-09-061-1/+2
| | | | | PR: 21084 Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
* Fix style bugs and poor wording introduced in rev 1.12.sheldonh2000-08-171-8/+17
| | | | Submitted by: bde
* Fix style bugs and inconsistencies introduced in rev 1.16.sheldonh2000-08-171-12/+18
| | | | Submitted by: bde
* Don't explicitly declare optarg and optind. These are declared inimp2000-08-161-1/+0
| | | | unistd.h, which is already included.
* Add the -i option, as found in rm(1), which provides an interactivesheldonh2000-08-142-8/+46
| | | | | | | mode in which the user is prompted for confirmation before an existing file is replaced. Submitted by: alex
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Fix cut'n'paste niggles in previous commit.sheldonh1999-12-211-1/+1
|
* Add link(1) and unlink(1) as special cases of ln(1) and rm(1)sheldonh1999-12-203-4/+41
| | | | | | | | | | | | respectively, in accordance with SUSv2. This differs from the approach taken in NetBSD, but provides less obscure error messages in at least the EISDIR case and does not take up additional disk space for new binaries. PR: 13071 PR: 13074 Requested by: James Howard <howardjp@wam.umd.edu>
* Add verbose processing flag.obrien1999-09-112-5/+21
|
* $Id$ -> $FreeBSD$peter1999-08-274-4/+4
|
* Grammatical fixes.kris1999-05-121-5/+5
| | | | Obtained from: OpenBSD
* Reverted some more of rev.1.9 (emphasize that -H != -h).bde1999-04-251-1/+6
|
* Revert part of the previous commit. Keep the example that shows how thenik1999-04-241-0/+18
| | | | | | "-h" flag is used, but use "chown" in the example instead of "file". Prompted by: bde
* Change description of file(1) following symlinks to the truth (namely,nik1999-04-141-28/+16
| | | | | | | | | by default, file(1) does not follow symlinks, the -L flag must be specified. PR: docs/8602 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp> Reviewed by: nik
* Correct use of .Nm. Add rcsid.charnier1998-05-152-9/+11
|
* Updated references to the behaviour of ls(1).des1998-04-241-20/+15
| | | | | PR: bin/6140 Submitted by: Max Euston
* Try again to explain the existence of lchown() and the absence ofjdp1997-06-191-12/+7
| | | | lchmod() and lutimes().
* Update some text to reflect the fact that symbolic links now havejdp1997-06-141-4/+4
| | | | owner and group attributes.
* Cosmetic change in usage string.charnier1997-06-061-3/+4
|
* Add xref to lchown(2) and symlink(2).charnier1997-06-031-3/+10
| | | | Obtained from: {Net|Open}BSD
OpenPOWER on IntegriCloud