Mark Murray
4b4ed2fe6a
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:11:03 +00:00
Warner Losh
46251dde8f
o __P has been reoved
...
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.
2002-02-02 06:48:10 +00:00
David E. O'Brien
a748290789
Default to WARNS=2. Binary builds that cannot handle this must explicitly
...
set WARNS=0.
Reviewed by: mike
2001-12-04 01:57:47 +00:00
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
caa2db3be9
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 10:04:09 +00:00
Dima Dorfman
982f5d88ff
WARNS= -> WARNS?=
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
Warner Losh
c215688fd2
Use PATH_MAX in preference to MAXPATHLEN.
...
Also sort declarations per style(9) (big arrays come last) while I'm
in the area.
2001-05-29 17:27:56 +00:00
Kris Kennaway
97dbc8f347
Silence WARNS=2 and BDECFLAGS on i386 and alpha
...
MFC After: 1 week
2001-05-20 04:54:15 +00:00
Ruslan Ermilov
41f6d28423
Fixed a typo.
2001-04-27 08:12:45 +00:00
Maxim Sobolev
1d7f44ef26
Put a note that -h' and
-n' is non-standard and provided only for
...
compatibility purposes.
Prompted by: ru
2001-04-27 08:00:19 +00:00
Maxim Sobolev
c9e7c66776
Bring in -h' compatability option and its alias
-n' to match NetBSD and GNU
...
semantics.
style(9) Reviewed by:
Obtained from: NetBSD
2001-04-26 17:15:57 +00:00
Ruslan Ermilov
6c7d684cfe
MAN[1-9] -> MAN.
2001-03-27 10:03:10 +00:00
John Polstra
1718c8b735
Note that rmdir(2) does not follow symbolic links.
2001-01-24 23:49:59 +00:00
Ruslan Ermilov
12e720d78b
Prepare for mdoc(7)NG.
2000-12-15 17:37:31 +00:00
Ruslan Ermilov
be8b149795
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 11:39:41 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Mark Ovens
04a578306c
Fix markup typo
...
PR: 21084
Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
2000-09-06 20:09:39 +00:00
Sheldon Hearn
8ba8e2ef62
Fix style bugs and poor wording introduced in rev 1.12.
...
Submitted by: bde
2000-08-17 16:09:27 +00:00
Sheldon Hearn
7e7574af89
Fix style bugs and inconsistencies introduced in rev 1.16.
...
Submitted by: bde
2000-08-17 16:08:06 +00:00
Warner Losh
2c15efcfb5
Don't explicitly declare optarg and optind. These are declared in
...
unistd.h, which is already included.
2000-08-16 05:14:49 +00:00
Sheldon Hearn
7fcd5ae0d0
Add the -i option, as found in rm(1), which provides an interactive
...
mode in which the user is prompted for confirmation before an
existing file is replaced.
Submitted by: alex
2000-08-14 08:48:55 +00:00
Sheldon Hearn
f63f700eea
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:34:08 +00:00
Sheldon Hearn
9a73cc73e9
Fix cut'n'paste niggles in previous commit.
1999-12-21 08:57:58 +00:00
Sheldon Hearn
d71e172ac6
Add link(1) and unlink(1) as special cases of ln(1) and rm(1)
...
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>
1999-12-20 16:13:47 +00:00
David E. O'Brien
b598b07322
Add verbose processing flag.
1999-09-11 10:06:56 +00:00
Peter Wemm
2a4562393f
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
Kris Kennaway
790b555384
Grammatical fixes.
...
Obtained from: OpenBSD
1999-05-12 13:48:47 +00:00
Bruce Evans
712d410833
Reverted some more of rev.1.9 (emphasize that -H != -h).
1999-04-25 11:58:25 +00:00
Nik Clayton
f3b7e70782
Revert part of the previous commit. Keep the example that shows how the
...
"-h" flag is used, but use "chown" in the example instead of "file".
Prompted by: bde
1999-04-24 10:08:09 +00:00
Nik Clayton
a53f20cc1e
Change description of file(1) following symlinks to the truth (namely,
...
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
1999-04-14 18:45:07 +00:00
Philippe Charnier
2a170595d1
Correct use of .Nm. Add rcsid.
1998-05-15 06:19:05 +00:00
Dag-Erling Smørgrav
a8ce505bcb
Updated references to the behaviour of ls(1).
...
PR: bin/6140
Submitted by: Max Euston
1998-04-24 12:38:18 +00:00
John Polstra
904058d0ad
Try again to explain the existence of lchown() and the absence of
...
lchmod() and lutimes().
1997-06-19 01:07:05 +00:00
John Polstra
b91ba2181a
Update some text to reflect the fact that symbolic links now have
...
owner and group attributes.
1997-06-14 18:44:03 +00:00
Philippe Charnier
749d4bb649
Cosmetic change in usage string.
1997-06-06 06:40:06 +00:00
Philippe Charnier
4c48180751
Add xref to lchown(2) and symlink(2).
...
Obtained from: {Net|Open}BSD
1997-06-03 06:27:44 +00:00
Warner Losh
93ef08af3e
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-28 15:24:41 +00:00
Peter Wemm
b97fa2ef50
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Steve Price
78b09ffeaf
-Wall cleaning.
1996-12-14 06:08:03 +00:00
Wolfram Schneider
b8923d4cc0
[HISTORY] command appeared in Version 1 AT&T UNIX
...
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
Peter Wemm
7d4b6187df
Nuke the undocumented -F flag, since it doesn't do anything anymore.
...
It used to allow root to hard-link directories (and screw up programs that
expexted the ".." entry to point to the parent dir)
1996-05-24 20:36:16 +00:00
Bruce Evans
9195f40982
Use lstat() instead of stat() for checking if the final source file exists,
...
so that `ln -fs' works when the source is a symlink pointing to a non-
existent file.
1994-12-06 18:50:44 +00:00
David Greenman
89730b290a
Added $Id$
1994-09-24 02:59:15 +00:00
Poul-Henning Kamp
c4278e8b60
fix ln to accept -f again. Thanks Bruce. Seems that Joe Grosch isn't
...
quite as safe as I thought. I will have to look much closer on his
patches. Damn.
1994-09-20 07:24:51 +00:00
Poul-Henning Kamp
3a15523260
/home/phk/jg
1994-09-20 06:28:16 +00:00
Garrett Wollman
67c22e7195
Fix makefiles for our macros.
1994-08-05 17:02:31 +00:00
Rodney W. Grimes
4b88c807ea
BSD 4.4 Lite bin Sources
1994-05-26 06:18:55 +00:00