Commit Graph

1931 Commits

Author SHA1 Message Date
charnier
b7e4fd63e8 Use err(3). Add usage() and prototypes. 1997-08-26 11:23:37 +00:00
charnier
7f44bec4ad Cosmetic in usage string. 1997-08-26 11:17:16 +00:00
charnier
19da442f11 Use err(3). 1997-08-26 11:16:08 +00:00
charnier
a5eee593ac Use err(3). Add usage(). 1997-08-26 11:14:57 +00:00
charnier
80e0f83375 Cosmetic in usage string. Mdocify author section. 1997-08-26 11:13:39 +00:00
charnier
287f219c02 Main() returns int. 1997-08-26 11:08:24 +00:00
eivind
0e114b0322 Removed a buffer overflow in args().
While I'm here, fix a bug with 'register' in conjunction with setjmp(),
staticize and do some -Wall cleaning.
1997-08-26 10:25:19 +00:00
charnier
f320b3a306 Just forgot a moment that mdoc macros are limited to 9 parameters.
Found by: Bruce.
1997-08-26 07:04:20 +00:00
charnier
98f0299552 Revert some casts I introduced.
Requested by: Bruce.
1997-08-26 06:59:34 +00:00
fsmp
513dcef161 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
wollman
fefb319840 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
wollman
143b997329 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
charnier
e779aaeea3 Use err(3). 1997-08-25 06:49:45 +00:00
charnier
628c52489f Sync usage string according to man page. Silent -Wall. 1997-08-25 06:44:59 +00:00
charnier
b4ee63a927 Use err(3). Add usage(). 1997-08-25 06:43:22 +00:00
charnier
0beb621f63 Typo in usage(). Err -> errx when testing allocations. 1997-08-25 06:42:19 +00:00
charnier
5aeacfdd37 Use err(3). Add some %d to %ld changes. 1997-08-25 06:40:05 +00:00
charnier
bfcfa0d6a6 Use err(3). Add usage() and prototypes. 1997-08-25 06:37:37 +00:00
charnier
eee8c72e1a Use err(3). Nm vgrind -> Nm in man page. 1997-08-25 06:36:04 +00:00
imp
4760384ee3 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
c533a8d3b5 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
4686bb5ffb 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
9eee91f94a 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
4716831499 Fix the .Dd line.
PR:		docs/3275
1997-08-23 15:49:52 +00:00
joerg
6f8d503759 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
imp
7623afeb40 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
f84d7f28e5 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
7072a26c53 Merge ppp-2.3.1 changes onto mainline 1997-08-22 15:24:36 +00:00
jmg
67ca20936d -I/sys converstion and Id line 1997-08-22 14:22:31 +00:00
jmg
05f0e169e1 another -I/sys conversion, and add Id line now it's left the vendor branch 1997-08-22 14:21:51 +00:00
charnier
40cf595fb5 Use err(3). 1997-08-22 06:53:00 +00:00
charnier
eaef137992 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
charnier
9a7cf30825 Use err(3) instead of local redefinition. Add usage(). 1997-08-21 06:52:43 +00:00
charnier
16f9b719d4 Use err(3) instead of local redefinition. 1997-08-21 06:51:10 +00:00
charnier
85fa6720fe Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-21 06:49:33 +00:00
joerg
9f76c14f85 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
jlemon
5d3c68aeda 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
charnier
d5f7fdb95f Use err(3). Add usage(). Remove progname. 1997-08-20 11:07:53 +00:00
charnier
5a5eea93a1 Use err(3) and add usage(). 1997-08-20 11:05:28 +00:00
charnier
714d77879e Nm uname -> Nm. 1997-08-20 11:03:54 +00:00
charnier
d2e7017adf 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
0408a54150 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
jlemon
e444e35d07 Require all compatability options to begin with '-'.
PR:		4145
1997-08-19 15:58:15 +00:00
jlemon
34cfd5d300 Permit hex/octal parameters to cmp, to match what the manual page says.
PR:		3850, 3855
1997-08-19 14:34:04 +00:00
asami
89548edf3a 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
asami
1b628fbe35 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
jlemon
3d3878a0ed 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
jlemon
63c7a9d9e0 Add doscmd. 1997-08-18 18:51:46 +00:00
jlemon
9248552ead Clean up Makefile, make compiling in X support dependent on ${X11BASE}. 1997-08-18 18:48:33 +00:00
peter
db9cd5ac86 use -I${DESTDIR}/usr/include/tcl, not -I/usr/include/tcl 1997-08-18 11:39:19 +00:00