dsl
e92cba3e15
Make '0' be a valid number
2004-07-18 10:57:32 +00:00
atatat
14eee8f4cc
Rework sys/netipsec/ipsec_netbsd.c to present a more consistent tree.
...
Rework usr.bin/netstat/fast_ipsec.c to find the stats nodes under the
new names (Kame uses the name stats so we use different ones), as well
as setting slen appropriately between calls to sysctlbyname(), and
providing forward compatibility when actually retrieving stats via
sysctlbyname().
And correct a spelling error.
2004-07-17 16:36:39 +00:00
enami
686e03f5e7
- If fktrace(2) failed, just exit rather than waiting for trace output.
...
- Reduce #ifdef a bit.
2004-07-16 23:52:01 +00:00
he
7ae4fdd283
Instead of placing largish buffers on the stack, use malloc/free.
...
Fixes compile problem for sun2.
2004-07-16 22:44:01 +00:00
yamt
fb79fa6390
define __GNUC_PREREQ__ if it isn't available on host.
2004-07-15 09:01:29 +00:00
lukem
f619a0eb00
Fix bug in Christos' recent cleanup which broke the "help" and "rhelp" commands.
2004-07-15 08:50:10 +00:00
wiz
0d19b8b1c0
* add [] to -p
...
* sort options
* call bad_usage() if unknown option is given
From Kouichirou Hiratsuka in PR 26256.
2004-07-13 12:16:12 +00:00
wiz
d6d7b0598f
Sort options; from Kouichirou Hiratsuka in PR 26256.
2004-07-13 12:14:07 +00:00
wiz
b8c5588d79
Usage: Options before arguments; add -E. From Kouichirou Hiratsuka in PR 26255.
2004-07-13 12:11:06 +00:00
wiz
5df46dc9cc
Sort options. From Kouichirou Hiratsuka in PR 26255 (slightly changed).
2004-07-13 12:09:29 +00:00
wiz
f4128b317e
Add -d to usage; use getprogname(3). From Kouichirou Hiratsuka in PR 26227.
2004-07-13 12:07:51 +00:00
wiz
5e4aaf0ef0
Sync usage with man page (add [login@], sort options, machine -> host);
...
print usage to stderr; use getprogname(3).
From Kouichirou Hiratsuka in PR 26225.
2004-07-13 12:06:35 +00:00
wiz
6b6cae1acd
Sort options in SYNOPSIS. From Kouichirou Hiratsuka in PR 26225.
2004-07-13 12:02:23 +00:00
wiz
1c7022e424
Sync usage with man page. From Kouichirou Hiratsuka in PR 26224.
2004-07-13 12:00:30 +00:00
wiz
13d5df6555
Sync usage with man page; from Kouichirou Hiratsuka in PR 26223.
2004-07-13 11:59:12 +00:00
wiz
d2c6d0c9f5
Sort options in synopsis.
2004-07-13 11:58:55 +00:00
wiz
3408fd1acc
Use getprogname(); add -F to usage. From Kouichirou Hiratsuka in PR 26222.
2004-07-13 11:56:24 +00:00
wiz
8ff81120a3
Usage -> usage; add missing -n to usage. From Kouichirou Hiratsuka in PR 26221.
2004-07-13 11:55:02 +00:00
wiz
4e4e99275b
Add missing -j to usage; sort as in man page;
...
use getprogname(). From Kouichirou Hiratsuka in PR 26220.
2004-07-13 11:53:57 +00:00
yamt
5e6cd45b9d
fix "gzip -lv a.gz" after gzip.c 1.46.
2004-07-12 10:21:11 +00:00
yamt
284b1b2ac6
another warn -> warnx.
2004-07-12 09:58:10 +00:00
jdolecek
1196c8ba2e
consistently quote all values printed in the summary of
...
the current locale environment ('locale' without arguments)
2004-07-12 08:51:56 +00:00
mrg
2644272f85
in check_outfile() if the outfile exists and -f was given just delete it.
...
fixes PR#26251.
2004-07-12 02:50:38 +00:00
yamt
bd416872f6
fix descriptor leaks on error.
2004-07-11 22:49:42 +00:00
mrg
668894b1c5
- in gz_uncompress() be sure to do the crc/len recalculation insigned.
...
fixes PR#26246.
- if crc/len are wrong, be sure to noticed it failed
- in check_suffixes(), be sure not to underrun an array (from yamt)
- don't fail so badly on short header, from and fixes R#26242 (also
from yamt)
- more underrun avoidance in file_uncompress(). fixes PR#26241.
2004-07-11 14:39:39 +00:00
mrg
d44ac40080
check the suffix of the input file ala GNU gzip, and error about it
...
unless -f is given. fixes PR#26240
2004-07-11 09:40:51 +00:00
mrg
e46324f383
move the crc/len code into their own state's to properly allow the buffer
...
to be refreshed. re-fixes regress/usr.bin/gzip/concatenated.
2004-07-11 07:01:03 +00:00
mrg
469c821e42
- check for trunated input.
...
- check each gzip-part's length against the original and warn if it's
wrong. fixes part of PR#26233.
- check the input crc32. fixes the rest of PR#26233.
2004-07-11 06:20:29 +00:00
mrg
7ed5da7ba5
don't assume Z_STREAM_END means end-of-file. fixes PR#26234.
2004-07-11 05:40:51 +00:00
yamt
b6ec63a3cc
tailing \n is not needed for vwarn().
2004-07-10 17:35:59 +00:00
wiz
d771b2e264
Sort options and add -v to usage. From Kouichirou Hiratsuka in PR 26219,
...
though done slightly differently (options without arguments always come
first).
2004-07-10 16:12:29 +00:00
wiz
a3b80f097f
Sort options; new sentence, new line; use Pq.
2004-07-10 16:11:29 +00:00
tron
dc33169c5b
Add prefix "${PROG}-" to filename of automatically created list of
...
ioctl names. This makes sure that each program is built with its own
copy even if object directories are not used. This avoids build
failures when two or more make jobs are used in parallel.
2004-07-10 12:12:49 +00:00
enami
66820706e0
No need to pretty print the errno with err() or warn().
2004-07-10 00:00:58 +00:00
enami
15f238472a
Yet another s/xmalloc/xrealloc/ so that large multi line text
...
can be added.
2004-07-09 23:43:07 +00:00
mycroft
282d260910
xmalloc()->xrealloc() so that patterns larger than _POSIX2_LINE_MAX*2-1 work.
2004-07-09 16:34:29 +00:00
wiz
bb38c4ebcc
Sync usage with man page. From Kouichirou Hiratsuka in PR 26197.
2004-07-09 12:14:37 +00:00
wiz
ec6bd375e2
Add -q to usage. From Kouichirou Hiratsuka in PR 26199.
2004-07-09 12:12:27 +00:00
wiz
bafaf49a90
Add -d level to usage. From Kouichirou Hiratsuka in PR 26198.
2004-07-09 12:10:43 +00:00
wiz
4b3439b23a
Add -f to usage. From Kouichirou Hiratsuka in PR 26196.
2004-07-09 11:50:21 +00:00
wiz
5f59441cc8
-p, -s, -t, and -x are mutually exclusive -- make it obvious in
...
the SYNOPSIS.
2004-07-09 11:47:59 +00:00
wiz
a82c1f4b83
Add missing -n, -1, -2, -4, -5, and -6 to cksum usage.
...
From Kouichirou Hiratsuka in PR 26195.
2004-07-09 11:44:30 +00:00
wiz
55759098b9
Standardize usage: print it to stderr, add brackets around all optional
...
arguments, sort, add missing file argument. From Kouichirou Hiratsuka
in PR 26194.
2004-07-09 11:41:26 +00:00
wiz
9e492da4c1
Standardize usage.
2004-07-09 11:40:00 +00:00
wiz
b9c239be76
Add -q to SYNOPSIS. From Kouichirou Hiratsuka in PR 26193.
2004-07-09 11:36:33 +00:00
wiz
7f968efdc2
There is no -m option -- remove it from the usage.
...
From Kouichirou Hiratsuka in PR 26192.
2004-07-09 11:34:16 +00:00
wiz
625282a3e9
Sync usage with man page. Closes PR 26191 by Kouichirou Hiratsuka.
2004-07-09 11:33:13 +00:00
wiz
ee573c8cac
Sort options, bump date.
2004-07-09 11:29:15 +00:00
christos
750fc37531
deal with another dup ioctl; fortunately this is from pcvt and it will die.
2004-07-08 03:22:32 +00:00
tron
d12de89293
Don't scan include files in "includes" target because they might not be
...
in the destination directory yet.
2004-07-07 14:28:17 +00:00