Commit Graph

2890 Commits

Author SHA1 Message Date
Mike Pritchard
49364d3cb3 Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-28 23:23:38 +00:00
Peter Wemm
a1a4f1a0d8 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Sheldon Hearn
513c0475ca Add -m option to specify a creation mode whcih is not affected by
the umask of the calling process.

PR:	13365
Reported by:	James Howard <howardjp@wam.umd.edu>
Reviewed by:	bde
1999-08-27 10:40:27 +00:00
Sheldon Hearn
85ab7ba1e0 Add `-i'' option, which is the same as `-''. The -i option is the
recommended option in the manpage, but the - option remains for
backward compatibility and is documented as such.

PR:	13363
Reported by:	James Howard <howardjp@wam.umd.edu>
Reviewed by:	bde
1999-08-27 08:59:32 +00:00
Nick Sayer
b6c989ff40 1. Add support for months and years in relative time spec (now + 1 year)
2. Rip out dateadd() and re-do the plus operator handler to use mktime()
instead (per wollman).

Reviewed by:	wollman
1999-08-26 16:18:38 +00:00
Dmitrij Tejblum
27ff174015 Declaration of strtouq() is not missing from stdlib.h, so don't redeclare
it.
1999-08-25 14:22:20 +00:00
Warner Losh
b59bb23b3d Use the final version of the patch for the overflow, not the next to
final.

Noticed by: eivind
1999-08-22 17:24:25 +00:00
Tim Vanderhoek
a6ad7c7f78 Fix a temp file race occurring only when -j is used.
Noticed by:	ru
Obtained from:	OpenBSD
1999-08-22 05:28:13 +00:00
Brian Somers
7ad5a72536 Mention rwhod(8) in the SEE ALSO section 1999-08-21 20:26:59 +00:00
Warner Losh
e0d8eea175 Fix possible buffer overflow with finger and fingerd.
Submitted by: Lukasz Luzar <lluzar@noname.kki.krakow.pl> and
	Eivind Eklund <eivind@yes.no>

This patch is actually a combination of those two patches.
1999-08-21 18:25:38 +00:00
Warner Losh
a761a4653a Clear all file flags when taking ownership of devices. Do not ignore
chown failures in some places, but instead log them like we do all
other errors.
1999-08-21 18:19:49 +00:00
Chris Costello
f437b38cf7 Fix a bunch of broken cross-references 1999-08-18 05:55:22 +00:00
Tim Vanderhoek
fb320ea83a Don't assume all ctags are meant to match a whole line ("^...line...$").
This lets more(1) work with, for example, /usr/local/share/vim/doc/*.txt.
1999-08-17 00:49:40 +00:00
Tim Vanderhoek
9bd2d6eee4 Merge style- and trivial- only changes from OpenBSD (dated 1999/07/29-19:55+1).
Obtained from:	OpenBSD, sometimes indirected from NetBSD; myself
1999-08-17 00:39:26 +00:00
Bruce Evans
c619831eb1 Fixed editing error in previous commit. -lmd' (link libmd) became -md'
(emulate the 'd' linker (?)).  This was most harmful for the NOSHARED=yes
case since libskey.o isn't linked to libmd.a.

Fixed the usual disorder of DPADD and LDADD, and some tab lossage.
1999-08-15 13:14:50 +00:00
Mike Pritchard
a4cab7d390 Various man page cleanup:
- Sort xrefs
- Be consistent with section names as outlines in mdoc(7).
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
1999-08-15 08:25:34 +00:00
Chris Costello
0114ca66e9 Fix bad references:
vmstat(1) -> vmstat(8)
  iostat(1) -> iostat(8)
1999-08-14 06:52:28 +00:00
Chris Costello
e0fd2ce68f Bad reference of getcwd(2) changed to getcwd(3). 1999-08-14 06:47:13 +00:00
Chris Costello
691c710bc5 Bad reference of setrlimit(3) changed to setrlimit(2). 1999-08-14 06:39:48 +00:00
Chris Costello
3a9fa67a75 Specify that `ruptime' data is broadcast once every three minutes, not
once every minute.

PR:		docs/13130
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-08-14 01:04:10 +00:00
Sheldon Hearn
7312edcec3 Axe LOGIN_CAP_AUTH.
PR:	10115
Reported by:	Gene Skonicki <gene@cif.rochester.edu>
Requested by:	jdp
1999-08-13 16:51:40 +00:00
Sheldon Hearn
a0cf59e65e Correct style issues with the previous commit.
Requested by:	bde
1999-08-13 12:56:35 +00:00
David E. O'Brien
9b68440631 Use our floppy device names rather than BSD/OS's. 1999-08-13 10:08:05 +00:00
Chris Costello
444449266c Make VPATH explanation more concise. I apparently was not thinking
on the previous commit.
1999-08-12 20:49:20 +00:00
Chris Costello
a5813d5e80 Move ${VPATH} explanation under the .PATH rule section.
Clarify my vague explanation of how ${VPATH} works and why it shouldn't
be used.
1999-08-12 20:28:54 +00:00
Tim Vanderhoek
5af2ec36b0 Bugfix to last commit: Correctly intuit when an lhs is a string vs. number. 1999-08-12 13:30:08 +00:00
Sheldon Hearn
5cba8ccae5 Pass as argv[0] the name of the shell executed instead of "sh".
PR:	2851
Reported by:	era@iki.fi
Obtained from:	NetBSD
1999-08-11 23:45:59 +00:00
Nik Clayton
6d6189a455 Document the use of the -a flag in conjunction with the -r flag.
PR:             docs/13037
Submitted by:   Christopher Masto <chris@netmonger.net>
1999-08-11 22:25:55 +00:00
Chris Costello
edad54782b Document ${VPATH} and that it _should_not_ be used in any new Makefiles.
PR:		10556
Submitted by:	Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
1999-08-11 17:52:55 +00:00
Dag-Erling Smørgrav
f0ebbc2985 Teach truss to print symbolic signal names (e.g. SIGHUP instead of 0x01). 1999-08-10 16:57:37 +00:00
David E. O'Brien
ca08704ee4 Remove f2c as its libraries were tossed last April, and f2c has been replaced
with EGCS's f77.

Noticed still alive by:	bde
1999-08-08 17:08:30 +00:00
Sheldon Hearn
af86fc21d6 Fix integer overflow for files containing more than 4GB by using
u_quad_int instead of u_long for counters. (NetBSD's rev 1.15 - 1.18)

Deprecate register. (NetBSD's rev 1.13)

The diffs from NetBSD were not applied verbatim, because we don't care
about NO_QUAD right now.

PR:	12959
Reported by:	Nicholas Barnes <nb@ravenbrook.com>
Obtained from:	NetBSD
1999-08-06 14:37:13 +00:00
Dag-Erling Smørgrav
1071410263 Add access(2) to the list of recognized syscalls. 1999-08-05 12:03:50 +00:00
Nik Clayton
22a3ff2a83 Richard the Lionheart was crowned on 3rd September 1189, not the 27th
February.

If you do a web search for "lionheart crowned" you'll get lots of
conflicting information.  Some sites say 3rd September, while others
say 27th February.  Most of the "27th February" crowd seem to take their
information from other incarnations of this file on other operating
systems.

After a very pleasant afternoon spent lunching with my girlfriend's
parents, I availed myself of their extensive reference library.

You'd be surprised how hard it is to get concrete information about this.
The _Encyclopedia Brittanica_ doesn't mention the date, only the year, as
does _Brewer's Dictionary of Phrase and Fable_, as do all the other printed
sources I tried.  One of them even said July 7th 1189!  Microsoft's (yeah,
so sue me) Encarta '95 has quite a comprehensive entry, but again, no
day and month information

In desperation, I tried the web once more, and finally stumbled upon
http://www.btinternet.com/~timeref/hsttime2.htm.  This revealed that
Henry II died on 6th July 1189 (presumably the source of the 7th July
entry in another reference), and that Richard was crowned on 3rd
September.

Best of all, this site gives references.  So if any of you have a copy of
_The Life and Times of Richard I_, John Gillingham, pub. George Weidenfeld
and Nicholson Limited, 1974, then you can confirm this for yourselves.

For completenesses sake, I tried to find an ISBN number for the above
book.  But Amazon and Barnes and Noble don't appear to stock it (although
it looks like a revised version, by the same author, is due out in October
1999, in case anyone's interested).

PR:             docs/10488
Submitted by:   solon@macaulay.demon.co.uk
1999-08-01 19:54:02 +00:00
Tim Vanderhoek
b97af31bdb Add a -E flag, similar to -e (overide variables from environment) except
that -E only operates for a specified variable.  Useful since the -e option
will often pull-in many unwanted variable overrides (esp. in a make world
situation).  Uses include overriding BINOWN (which cannot be done by normal
methods or through abuses of MAKEFLAGS) or likely for ports to honour CFLAGS
(provided they're running on a system whose make(1) has this option).
1999-07-31 20:53:02 +00:00
Tim Vanderhoek
97f8cf3b7f Print an error message on illegal numerical arguments.
Submitted by: bin/9349 (slightly modified) Assar Westerlund <assar@sics.se>
1999-07-31 20:40:23 +00:00
Tim Vanderhoek
3a1c425259 When printing an error message after command execution fails, don't assume
the only possible error is "command not found".  This makes debugging of
messages such as "/bin/sh: not found" less common...
1999-07-31 20:38:22 +00:00
Nik Clayton
13bc97efa9 Reflect the change from the /etc/weekly to /etc/periodic/weekly/*.
PR:             docs/12734
Submitted by:   Alexey M. Zelkin <phantom@scorpion.crimea.ua>
1999-07-30 21:12:35 +00:00
David E. O'Brien
17e6630760 Revert the past 3 commits to what should have been the rev 1.18 -> rev 1.19
change.  (doesn't anybody read commit logs and look at the diffs?)
1999-07-30 15:05:32 +00:00
Dag-Erling Smørgrav
aed4de8a07 Hyphens are not legal characters in a C identifier.
Broken by:	hoek
1999-07-30 14:52:23 +00:00
Tim Vanderhoek
593bbda376 Even better fix for last commit: rename rcsid[] to _yacc-parser_rcsid[]
(one always gets these ideas just after the commit).
1999-07-30 13:04:19 +00:00
Tim Vanderhoek
892d5804bb Don't output rcsid into the output parser. It may have already been
defined in an input file such as src/bin/sh/arith.y.  #if 0 it out.  I did
not add $Id$ back into the comment header (as removed from last commit).
1999-07-30 12:53:21 +00:00
Dag-Erling Smørgrav
a4a026b4c0 Show dirty buffers and the percentage of time a disk was busy.
PR:		12858
Submitted by:	Arjan de Vet <Arjan.deVet@adv.iae.nl>
1999-07-30 07:44:25 +00:00
David E. O'Brien
55293461db Only output `rcsid' (set to our Id string) into the resulting parser file.
Don't output `sccsid' (set to an anchient UCB Id string) into the parser file.

Submitted by:	bde
1999-07-30 06:40:00 +00:00
Brian Feldman
ac02226555 Fix improper mmap length paramater which can result in improper behavior
or cmp crashing in specific cases.
1999-07-29 23:26:22 +00:00
Sheldon Hearn
e4268c5913 Allow comments and blank lines as advertised in passwd(5).
PR:	12828
Submitted by:	Yasuhiro Fukuma <yasuf@big.or.jp>
1999-07-29 16:30:35 +00:00
David E. O'Brien
5da860fa05 Follow the directions in the comments and add our Id string to the output
file.
1999-07-29 09:59:06 +00:00
David E. O'Brien
6db03527ff Check that user supplied the required argument; and if not, show usage().
Obtained from:	OpenBSD
1999-07-29 09:47:33 +00:00