Commit Graph

48 Commits

Author SHA1 Message Date
jschauma 6a75fbb636 Following private discussion with kleink@ and hubertf@ and public discussion
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
2003-09-14 19:20:16 +00:00
jschauma ca5d0a41d2 Fix two more memory leaks found by Hubert Feyrer. 2003-08-21 04:30:25 +00:00
itojun e1e0321817 use bounded string op 2003-08-13 02:51:20 +00:00
agc b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
jschauma 458ed23412 As discusses a little while back on tech-userlevel:
If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.

While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
2003-08-04 22:31:21 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz 5673b28631 Whitespace nits. 2002-12-28 21:15:24 +00:00
jrf 46164a8a95 The previious ln commit did not have the change for -v in the source. Here is the working code. 2002-12-27 03:50:05 +00:00
jrf 1f6c14f0d6 Added verbose extension and updated manual pages. Changes approved by Klaus Klein. 2002-12-26 21:37:17 +00:00
kleink ade418e6fd Revert rev. 1.16, as per PR kern/17411.
While a hard link to a symbolic link is not ruled out by POSIX-2001,
the ln(1) utility (sans -s) is to perform equivalent to the link(2)
function on its operands, which includes the resolution of symbolic
links in source_file arguments.
2002-10-30 22:52:10 +00:00
wiz 14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
wiz f64af5cae0 ANSIfy, KNF, by Petri Koistinen. 2001-09-16 22:14:40 +00:00
cgd 668a4dd967 convert to use getprogname() 2001-02-19 22:39:39 +00:00
christos 18d76c325c fix nested extern. 2001-02-04 19:32:26 +00:00
bjh21 22fd223bad Document POSIX.2 conformance.
In the second form, the destination directory isn't optional.
Formatting cleanups.
2000-10-14 18:31:57 +00:00
jdolecek 945fe691ae Move symlink.7 to share/man/man7/, where it belongs 1999-09-27 17:44:49 +00:00
jdolecek 3fda74e8c8 add lutimes(2) to list of syscalls not following symlinks
Noted by Christos Zoulas <christos@NetBSD.org>
1999-09-26 20:45:41 +00:00
hubertf abda8d9447 Allow hardlinks to symlinks.
Reviewed by: Bill Studenmund, Klaus Klein
1999-09-05 23:34:39 +00:00
garbled f124765044 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:25:43 +00:00
fair 1768da524f Patch per PR#6166 and clean up some nroff bogons. 1998-12-13 19:34:44 +00:00
mycroft 9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
perry 6982982f8d macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:39:31 +00:00
cgd bad15fd37f lint 1997-11-05 21:17:14 +00:00
enami c3872193cf Fix .Nm usage. 1997-10-20 08:50:59 +00:00
enami 8750a9d231 Partial .Nm usage fix. XXX 1997-10-20 08:48:09 +00:00
christos 23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos 81aa60edd5 Fix compiler warnings.
Add WARNS=1
1997-07-20 17:44:40 +00:00
mycroft 8da4c69623 Correct bogons and omissions in previous change.
Also, remove the `-F' option, which was undocumented and is no longer useful.
1997-05-16 14:44:01 +00:00
jtk d697818b06 add -h flag to suppress following of symbolic links 1997-05-16 02:59:38 +00:00
mikel b7679caa29 add xref to symlink(2) 1997-03-25 05:30:29 +00:00
mycroft f3a6e4ecb9 Remove comment regarding 4.4 symlink behaviour. 1996-04-25 15:44:56 +00:00
jtc 23e6aab105 Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +00:00
cgd 49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
cgd b32916a5d5 new way of specifying man pages. 1994-12-22 09:23:05 +00:00
mycroft 667b5ea158 Merge 4.4-Lite version. 1994-09-22 09:24:46 +00:00
mycroft e40b06360c Import original 4.4-Lite version. 1994-09-22 03:04:15 +00:00
mycroft cad28d28e6 Fix core dump when source is a directory. 1994-02-08 05:09:26 +00:00
jtc 725b173aa7 Converted to use standard err()/warn() error messages functions. 1994-01-27 02:00:45 +00:00
jtc 0c5ee26bbb Pass through FlexeLint 1994-01-27 01:44:15 +00:00
jtc e04c8e0705 Fix spelling errors. 1994-01-11 02:10:48 +00:00
jtc 4532d39196 Document the fact that ln now conforms to IEEE 1003.2-92. 1993-08-19 17:34:14 +00:00
jtc db7c6323d1 Make 1003.2-1992 compliant by implementing -f (force) option. 1993-08-17 01:03:49 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00