Commit Graph

2874 Commits

Author SHA1 Message Date
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
David E. O'Brien
e7bd01e5df * Don't assume realloc() can take NULL as first arg. Yacc needs to
generate portable code...
* Correctly define yyparse() (ie, K&R vs. C++/ANSI-C)

Obtained from:	OpenBSD revs 1.5 & 1.10
1999-07-29 09:42:14 +00:00
David E. O'Brien
de18e37eba YYRECOVERING(), not YYRECOVERING.
Obtained from:	OpenBSD rev 1.8 (approved by Robert Corbett)
1999-07-29 08:47:30 +00:00
David E. O'Brien
030b221f78 Add support for Bison's "%expect <int>" directive.
I originally coded this myself, and now I realize {Net,Open}BSD had already
coded this.  I have tossed my version to reduce diffs between the projects.

Obtained from:	OpenBSD 2.5
1999-07-29 08:42:21 +00:00
Brian Feldman
ac3cd5208b New w ability: you can list multiple users on the command line and it will
match with all of them, rather than only supporting a single user.

PR:		11121
Kinda submitted by:	James Howard <howardjp@byzantine.student.umd.edu>
Reviewed by:		DES
1999-07-28 19:29:46 +00:00
Brian Feldman
e3b1878804 This covers the previous version, since a null commit message was accidentally
used:

Add a -c flag to print a count of messages and exit.

PR:             10921
Submitted by:   James Howard <howardjp@byzantine.student.umd.edu>
Requested by:	DES
1999-07-27 02:08:55 +00:00
Brian Feldman
82753326e8 *** empty log message *** 1999-07-26 23:12:12 +00:00
Nick Hibma
e85dc44cd7 Convert interrupt count from signed to unsigned and the total
from signed long to unsigned lon long.

PR:		12808
Submitted by:	Kevin Day toasty@dragondata.com
Reviewed by:	bde
1999-07-26 09:18:26 +00:00
Matt Jacob
0de83b4407 Apply suggested patch- seems reasonable.
PR:		12020
Submitted by:	Matthew D. Fuller <fullermd@futuresouth.com>
1999-07-24 17:49:17 +00:00
Nick Hibma
15c2a9ef79 Correct a typo (22th -> 22nd)
Remove some whitespace
Fix a problem where any event on the Last whatever of the month
was duplicated after the last day of the month (e.g. 32oct.)

PR:		4907
Submitted by:	Mikhail Teterin mi@aldan.algebra.com
1999-07-24 16:23:52 +00:00
Tim Vanderhoek
c897806b0b Regenerate to match changes made in the embedded yacc parser. 1999-07-23 23:13:44 +00:00
Tim Vanderhoek
0673595591 Regenerate this file. This fixes a y2k bogon. As an unintentional side-effect,
it also fixes that fact that this file badly needed to be regenerated due
to changes in yacc.

Not done by: pst (in misc/1380)
Almost done by: danny (in ftp.y)
1999-07-23 23:10:34 +00:00
Sheldon Hearn
d8d41a0985 Don't dump core for a known, documented bug.
PR:	12611
Reviewed by:	markm
1999-07-22 17:33:11 +00:00
Sheldon Hearn
8db8a33bb9 Improve printf(3) conversion specifier parsing so that silly formats
aren't allowed and the right casts can be used for printf() statements.

Document the conversion specifier limitations and the fact that
arithmetic overflow causes a fatal error.

PR:	12611
Reported by:	Frode Vatvedt Fjeld <frodef@acm.org>
Reviewed by:	bde
1999-07-22 17:11:59 +00:00
Wes Peters
1f20fb8802 Vastly improve the speed of the file command by making
the expected size of the magic(5) database agree with the
real world.  Also, improve the behavior of the realloc
mechanism when the magic database does exceed expectations.

Reviewed by:	Peter Jeremy, Matt Dillon
Obtained from:	Peter Edwards <peter.edwards@isocor.ie>
1999-07-22 01:22:08 +00:00
Nik Clayton
1e36820731 Document the "skey" command in telnet(1).
PR:             docs/12360
Submitted by:   kjm@rins.ryukoku.ac.jp (KOJIMA Hajime)
1999-07-19 22:24:32 +00:00
John Polstra
caf4d16aef Add braces to appease the egcs -Wall mom. 1999-07-17 19:03:20 +00:00