Commit Graph

1875 Commits

Author SHA1 Message Date
Philippe Charnier 57bd99e61c Revert some casts I introduced.
Requested by: Bruce.
1997-08-26 06:59:34 +00:00
Steve Passe 1ecd3f4585 Make explicit '-B' option propigate to submakes.
No one has said this would be a bad thing, so given the dearth of comments
I decided to add it, as its an important step towards getting "make world"
'parallel-ized'.

Reviewed by:	silence
Submitted by:	nnd@itfs.nsk.su
1997-08-25 21:35:44 +00:00
Garrett Wollman 4e00c309c0 Print out the two new fields in the ICMP stats. While we're at it, also
convert icmp_stats() to use sysctl(3) to retrieve the information
rather than kvm.  This makes it easy to also print whether ICMP address
mask responses are enabled, so do so.
1997-08-25 16:57:05 +00:00
Garrett Wollman e4bb0b9a5b While I'm in here, fix address printing for `netstat -f unix' which has been
broken for a couple of weeks now...
1997-08-25 16:55:00 +00:00
Philippe Charnier 05c5fed8f5 Use err(3). 1997-08-25 06:49:45 +00:00
Philippe Charnier 8c85cce77a Sync usage string according to man page. Silent -Wall. 1997-08-25 06:44:59 +00:00
Philippe Charnier 752d887a62 Use err(3). Add usage(). 1997-08-25 06:43:22 +00:00
Philippe Charnier 90389da95b Typo in usage(). Err -> errx when testing allocations. 1997-08-25 06:42:19 +00:00
Philippe Charnier 495aecea76 Use err(3). Add some %d to %ld changes. 1997-08-25 06:40:05 +00:00
Philippe Charnier d9be0ac773 Use err(3). Add usage() and prototypes. 1997-08-25 06:37:37 +00:00
Philippe Charnier 3e7ae69f2a Use err(3). Nm vgrind -> Nm in man page. 1997-08-25 06:36:04 +00:00
Warner Losh daca865092 Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX
to avoid the NOFILE problem.  Back out NOFILE kludge.  Fix unexploitable
buffer overflow in tipout.c.
Reviewed by:	millert@openbsd.org (tipout.c)
Submitted by:	millert@openbsd.org (rest of idea)
1997-08-25 05:02:11 +00:00
Steve Price aeaa52dbdc Cleanup inconsistencies in the manpage.
PR:		docs/3709
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-08-23 21:42:46 +00:00
Steve Price 0c30eecaa0 Teach ctags(1) how to handle intermediate whitespace in macros
and function definitions.

PR:		misc/4128
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-08-23 16:13:45 +00:00
Joerg Wunsch 6fe3822809 Open the file r/o if looking only. Make the error message more useful.
PR:		bin/3283
Submitted by:	Martin Kammerhofer <dada@freepass.tu-graz.ac.at>
1997-08-23 15:51:14 +00:00
Joerg Wunsch 1b659bfe0b Fix the .Dd line.
PR:		docs/3275
1997-08-23 15:49:52 +00:00
Joerg Wunsch 84c2e30193 Prevent a NULL dereferencation when given a garbage command line.
PR:		bin/3206
Submitted by:	blank@fox.uni-trier.de
1997-08-23 14:09:36 +00:00
Warner Losh 29ae2e935b Fix buffer overflow. prompt didn't get a size for its buffer,
so it could overflow it.  Also made some filenames MAXPATHLEN long rather
than 80 long.
1997-08-22 22:14:16 +00:00
Peter Wemm 54c521fbd8 Cleanup and remove the not-too-useful examples. The current versions
should be in share/examples if anywhere.
1997-08-22 15:42:33 +00:00
Peter Wemm 3d793cf175 Merge ppp-2.3.1 changes onto mainline 1997-08-22 15:24:36 +00:00
John-Mark Gurney e8a2a1c555 -I/sys converstion and Id line 1997-08-22 14:22:31 +00:00
John-Mark Gurney defffb3fcc another -I/sys conversion, and add Id line now it's left the vendor branch 1997-08-22 14:21:51 +00:00
Philippe Charnier f296f8ebb4 Use err(3). 1997-08-22 06:53:00 +00:00
Philippe Charnier 474cc7fe23 Was limited to 200 users. New entry is now allocated as needed.
Add usage().
Obtained from:OpenBSD.
1997-08-22 06:50:33 +00:00
Philippe Charnier 76f2ca6559 Use err(3) instead of local redefinition. Add usage(). 1997-08-21 06:52:43 +00:00
Philippe Charnier 213915d456 Use err(3) instead of local redefinition. 1997-08-21 06:51:10 +00:00
Philippe Charnier d4d0763a7d Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-21 06:49:33 +00:00
Joerg Wunsch 0ee7623d10 Implement "eod" as an alias for "eom". HP-UX uses this name, for
example.

Also cleaned up the man page a little.
1997-08-21 05:49:29 +00:00
Jonathan Lemon dc3001cf35 Pre-allocate buffer to avoid core dump in corner cases.
PR:		2968
Submitted by:	Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
1997-08-21 03:41:41 +00:00
Philippe Charnier cccb40360b Use err(3). Add usage(). Remove progname. 1997-08-20 11:07:53 +00:00
Philippe Charnier 56d8f922bf Use err(3) and add usage(). 1997-08-20 11:05:28 +00:00
Philippe Charnier c7c16beb22 Nm uname -> Nm. 1997-08-20 11:03:54 +00:00
Philippe Charnier 575580b202 Use err(3), add usage() and prototypes.
Move setmode() to setnewmode() because of a conflict with setmode(2 or 3).
1997-08-20 11:01:59 +00:00
Steve Price b2afcfe1fd Fix example to match ls(1)'s output.
PR:		docs/3681
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-20 02:05:29 +00:00
Jonathan Lemon faba086be3 Require all compatability options to begin with '-'.
PR:		4145
1997-08-19 15:58:15 +00:00
Jonathan Lemon 1e17b9450c Permit hex/octal parameters to cmp, to match what the manual page says.
PR:		3850, 3855
1997-08-19 14:34:04 +00:00
Satoshi Asami e5ed1f5994 Be consistent with other utilities in spelling "Kbytes". (Actually,
there even was one of them about ten lines above in the same file.)

Reminded by:	joerg's commit to usr.bin/ftp/ftp.c rev 1.9
1997-08-19 01:57:53 +00:00
Satoshi Asami 00411e3f12 Fix 1.17 properly by adding ${DESTDIR} in front. (I know this part is
not enabled now.)
1997-08-19 01:52:11 +00:00
Jonathan Lemon ef2cea8123 divnum is no longer silently restricted to the range 0..9. (cf: 4098)
changequote(,) is now a synonym for changequote().	 	(cf: 803)

buffer size for translit() enlarged to handle a full string

PR:		803, 4098
1997-08-18 21:01:45 +00:00
Jonathan Lemon 6f86349ac3 Add doscmd. 1997-08-18 18:51:46 +00:00
Jonathan Lemon 1e9267fe2d Clean up Makefile, make compiling in X support dependent on ${X11BASE}. 1997-08-18 18:48:33 +00:00
Peter Wemm 1e6f3a5daf use -I${DESTDIR}/usr/include/tcl, not -I/usr/include/tcl 1997-08-18 11:39:19 +00:00
Philippe Charnier 759bde1062 Add usage(). 1997-08-18 07:30:15 +00:00
Philippe Charnier 0e879078f3 Nm tsort -> Nm. 1997-08-18 07:28:50 +00:00
Philippe Charnier 71346dd104 Use err(3) insteadof local redefinition. Sync usage string with man page. 1997-08-18 07:27:59 +00:00
Philippe Charnier 14aebc178d Nm true -> Nm. 1997-08-18 07:25:50 +00:00
Philippe Charnier af647767ed Use err(3) instead of local redefinition. Cosmetic in usage(). 1997-08-18 07:24:58 +00:00
Philippe Charnier aa736575ab Cosmetic. 1997-08-18 07:22:53 +00:00
Philippe Charnier 4e9b4d0568 Add usage. Use /usr/share/misc/map3270 instead of /etc/map3270. 1997-08-18 07:21:48 +00:00
Philippe Charnier 804d2dab87 Add prototypes, usage(). Use err(3). 1997-08-18 07:16:12 +00:00