Commit Graph

1947 Commits

Author SHA1 Message Date
jmg
fe87b6f70d fix a few spelling changes
Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
jmg
ff6c8aa923 fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4428
1997-08-30 11:10:56 +00:00
imp
1c8f279c7b Add -execdir which will execute the exec command in the dir of the file
in question.  This change and the fts changes should be merged into 2.2-stable
as soon as they are vetted in -current.  This should allow cleaning of files
in /tmp to be reneabled.
Obtained from: OpenBSD
1997-08-29 23:09:45 +00:00
charnier
656dd561aa Use err(3). Cosmetic in usage(). Delay the compute of defaultdomain (from
OpenBSD).
Obtained from: OpenBSD.
1997-08-29 11:56:51 +00:00
charnier
e3d800ad26 Use err(3). Add Xreferences. Delay the compute of default domain.
Obtained from: OpenBSD
1997-08-29 11:52:52 +00:00
charnier
7f49be26af Use err(3). Add references to others man pages. Wait for the user to
supply the domain before computing a default one.
Obtained from: OpenBSD
1997-08-29 11:48:50 +00:00
wosch
3a492240ff du(1) always exit with value zero.
$ du /foobar
du: /foobar: No such file or directory
$ echo $?
0
1997-08-29 11:40:00 +00:00
itojun
43dcdc30aa more sanity check before making output.
bark when sed fails.

Submitted by:	wosch@apfel.de
1997-08-29 00:44:34 +00:00
jlemon
83408a9c6f Make X11 support in doscmd dependent on the actual libX11.a library and
include directory, rather than X11BASE.  This fixes the build for people
who only have the shared X11 distribution installed.
Requested-by:	A Joseph Koshy <koshy@india.hp.com>
1997-08-28 18:23:40 +00:00
itojun
0186fab0e8 To cope with shell archive file generated by GNU sharutils 4.2.
(it assumes that shar will bark if there's invalid argument specified)

Patch suggested by Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>.

Reviewed by:	joerg_wunsch@uriah.heep.sax.de
1997-08-28 14:35:09 +00:00
charnier
16a280858c Use err(3). Rewrote man page in mdoc format. The user visible change is that
report of s/r and r/r conflicts is now printed in two separate lines beginning
by `yacc: '.
1997-08-28 06:33:53 +00:00
charnier
35724bfde0 Use err(3). Add usage and prototypes. Use getopt(). Document -v flag. 1997-08-28 06:28:08 +00:00
imp
c7f78f499e Stop parsing args before user supplied to argument in sendmail.
Submitted by:	Oliver Friedrichs <oliver@silence.secnet.com>
1997-08-28 04:40:51 +00:00
jkh
e04776f271 Don't preferentially execute Makefiles in ${OBJDIR} - it just causes
confusion and suffering.  Tested by "make world".
Submitted by:	gibbs
1997-08-27 06:31:27 +00:00
charnier
0da82d0dd8 Uncomment sccsid string and enclose it inside #if 0/#endif.
Cosmetic in man page.
1997-08-27 06:29:23 +00:00
charnier
65ba7761d3 Use err(3) instead of local redefinition. 1997-08-27 06:26:23 +00:00
peter
f4d76fa2a9 Adapt to recent smp tree changes.. 1997-08-27 03:48:25 +00:00
charnier
93c390f386 Use err(3). Add usage() and prototypes. 1997-08-26 11:23:37 +00:00
charnier
922c635ef9 Cosmetic in usage string. 1997-08-26 11:17:16 +00:00
charnier
1b85fd48a9 Use err(3). 1997-08-26 11:16:08 +00:00
charnier
77158faf2b Use err(3). Add usage(). 1997-08-26 11:14:57 +00:00
charnier
efa61c3457 Cosmetic in usage string. Mdocify author section. 1997-08-26 11:13:39 +00:00
charnier
ede68adcc9 Main() returns int. 1997-08-26 11:08:24 +00:00
eivind
3a73a48e6f 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
c6b5c4f4d0 Just forgot a moment that mdoc macros are limited to 9 parameters.
Found by: Bruce.
1997-08-26 07:04:20 +00:00
charnier
46dded5c2b Revert some casts I introduced.
Requested by: Bruce.
1997-08-26 06:59:34 +00:00
fsmp
50fb55948e 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
97eab28157 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
bfcee9284e 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
3a201c361e Use err(3). 1997-08-25 06:49:45 +00:00
charnier
a2ca36fab2 Sync usage string according to man page. Silent -Wall. 1997-08-25 06:44:59 +00:00
charnier
39c1c86ca0 Use err(3). Add usage(). 1997-08-25 06:43:22 +00:00
charnier
2e1acbcf73 Typo in usage(). Err -> errx when testing allocations. 1997-08-25 06:42:19 +00:00
charnier
cc9a06dcc7 Use err(3). Add some %d to %ld changes. 1997-08-25 06:40:05 +00:00
charnier
69a652d6c6 Use err(3). Add usage() and prototypes. 1997-08-25 06:37:37 +00:00
charnier
74bc2451fe Use err(3). Nm vgrind -> Nm in man page. 1997-08-25 06:36:04 +00:00
imp
d2572797e3 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
76de010e50 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
fa4a49801b 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
8907b072aa 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
ecbff52878 Fix the .Dd line.
PR:		docs/3275
1997-08-23 15:49:52 +00:00
joerg
326e51f590 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
c7cadd2336 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
0570bf2e4e 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
3273e4ef1a Merge ppp-2.3.1 changes onto mainline 1997-08-22 15:24:36 +00:00
jmg
a3a20e342f -I/sys converstion and Id line 1997-08-22 14:22:31 +00:00
jmg
1f0300c979 another -I/sys conversion, and add Id line now it's left the vendor branch 1997-08-22 14:21:51 +00:00
charnier
f380101b25 Use err(3). 1997-08-22 06:53:00 +00:00
charnier
715fda6ce3 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
f88587795a Use err(3) instead of local redefinition. Add usage(). 1997-08-21 06:52:43 +00:00