Commit Graph

8067 Commits

Author SHA1 Message Date
dsl c68edd41b3 Add (unsigned char) cast to ctype functions
Fixes problems displaying German 'sharp-s', see PR install/27281
2004-11-05 20:45:48 +00:00
dsl 0e378e4772 Add (unsigned char) cast to ctype functions 2004-11-05 19:56:34 +00:00
dsl 48cdfe10a9 Use isalnum((unsigned char)x) instead of testing both isdigit() and isalpha() 2004-11-05 19:54:47 +00:00
dsl b7cb013096 Add (unsigned char) cast to ctype functions 2004-11-05 19:50:12 +00:00
dsl df38245cee Add (unsigned char) cast to ctype functions 2004-11-04 07:38:43 +00:00
dsl 7f6459c7a3 Add (unsigned char) cast to ctype functions
Change some variables from register char to int
2004-11-04 07:35:15 +00:00
dsl 293eff3495 Add (unsigned char) cast to ctype functions
islower() can be true for 0x80..0xff
2004-11-04 07:29:09 +00:00
dsl 88d913ebbe Add (unsigned char) cast to ctype functions 2004-11-04 07:22:47 +00:00
dsl cf09d2b1ce Add (unsigned char) cast to ctype functions
Although, IIRC, there is another PR on all commands being converted to
lower case.
2004-11-04 07:18:47 +00:00
dsl e219d781d7 Add (unsigned char) cast to ctype functions 2004-11-03 20:10:08 +00:00
dsl ef795ed430 Add (unsigned char) cast to ctype functions
Although I can't imagine why the 'seed' must be alphanumeric, nor why
it is later converted to lower case!
2004-11-01 21:52:07 +00:00
dsl d0ad315f4f Add (unsigned char) cast to ctype functions 2004-11-01 21:39:32 +00:00
dsl 447bb30961 Make fn arg 'unsigned char' to avoid passing 'char' to isalnum() 2004-11-01 21:36:11 +00:00
dsl 6632ac4d9c Add (unsigned char) cast to ctype functions 2004-11-01 21:12:59 +00:00
augustss 7efc81ca56 Make stdout line buffered (in case you are logging). 2004-10-31 21:10:59 +00:00
dsainty 5469cb6f9a Make the USB_GET_REPORT error format match the USB_SET_REPORT error format by
including the report the error was on.
2004-10-31 07:36:19 +00:00
dsl 58d3abc94f Add (unsigned char) cast to ctype functions
Stop infinite loop if get lower case char with no upper case equiv.
2004-10-30 21:52:09 +00:00
dsl e2a58c7a44 Add (unsigned char) cast to ctype functions
A password containg 80...ff could be reported (incorrectly) as being
all lower case.
2004-10-30 21:05:53 +00:00
dsl dfdc37e2fe Add (unsigned char) cast to ctype functions 2004-10-30 20:56:20 +00:00
dsl 108eb2ab42 Add (unsigned char) cast to ctype functions 2004-10-30 20:39:35 +00:00
dsl 06dd932c49 Add (unsigned char) cast to ctype functions - Char is unsigned char. 2004-10-30 20:37:35 +00:00
dsl 5355c81879 Add (unsigned char) cast to ctype functions 2004-10-30 20:17:19 +00:00
dsl 807394cff5 Add (unsigned char) cast to ctype functions 2004-10-30 19:34:01 +00:00
christos 175795754a WARNS=3, and remove comment about WFORMAT issues. 2004-10-30 19:28:35 +00:00
christos a7e7123b05 - KNF, WARNS=3, pass lint.
- Simplify octal parsing code.
2004-10-30 19:28:10 +00:00
dsl b23af931be Add (unsigned char) cast to ctype functions 2004-10-30 17:43:02 +00:00
dsl c28aa2083f Add (unsigned char) cast to ctype functions
Change a couple of local buffers to 'unsigned char'
2004-10-30 17:37:09 +00:00
dsl e833833eb1 Add (unsigned char) cast to ctype functions 2004-10-30 17:29:47 +00:00
dsl eee0442cb4 No need to call isupper() before tolower() 2004-10-30 17:27:28 +00:00
dsl 25b3737cd3 isupper(x) can be true for x in [128..255], but since tolower(x) is required
to return x if it cannot be translated we don't need the isupper() test.
2004-10-30 17:25:34 +00:00
dsl 43371ff1ac Add (unsigned char) cast to ctype functions 2004-10-30 17:17:35 +00:00
dsl 3145a29f62 Add (unsigned char) cast to ctype functions 2004-10-30 17:08:12 +00:00
dsl f77de37ccc Use strtoul() for integer conversion 2004-10-30 17:02:20 +00:00
dsl 8383dcf78c Add (unsigned char) cast to ctype functions 2004-10-30 16:57:27 +00:00
dsl ee9ce6e95c Add (unsigned char) cast to ctype functions
Make 'queue' and 'atqueue' unsigned char.
2004-10-30 16:55:06 +00:00
dsl 3cca093e74 Add (unsigned char) cast to ctype functions 2004-10-30 15:51:20 +00:00
dsainty b95d1a22d4 Correct spelling of hierarchy in a comment, and tab around RCSID 2004-10-30 05:16:13 +00:00
christos fc23d32c7d Call check_sender with NULL atime, meaning no strict checking. 2004-10-27 17:49:19 +00:00
christos 74c9d10c58 make the atime and msgok optional. If we did not request atime, then we
don't want strict checking and in this case if the tty is not found we
don't exit. write calls this with atime != NULL and wall calls this with
atime == NULL.
2004-10-27 17:48:47 +00:00
christos 4b03e4a99f Allow root to write even if it does not have a tty. 2004-10-26 19:24:00 +00:00
christos 29950aef4a Check the result of stat and warn if things are not found.
Change all err/x to warn/x
2004-10-22 15:50:47 +00:00
peter 7dbbfa5b53 Update a comment to say that the returned size is in KB. 2004-10-22 09:50:54 +00:00
wiz c76ac2e131 Use Fl for flags, not "Ar -"; add verb to sentence;
grammar fix; remove trailing whitespace.
2004-10-20 23:52:04 +00:00
augustss d44bf45e4b Update date (phew, got there before wiz! ;) 2004-10-20 13:57:36 +00:00
augustss 689cf598a2 Change logic in patch to allow CONST collections a little. 2004-10-20 13:56:53 +00:00
augustss 9a9d5c1a03 Allow a HID table to be specified (as for usbhidctl). 2004-10-20 13:53:56 +00:00
augustss 7dae9ae8ac Allow a collection to have the CONST flag.
Add some debug.
2004-10-20 13:49:15 +00:00
augustss 4c335c3359 Fix a typo.
Clarify path name for the config file.
2004-10-20 13:47:21 +00:00
augustss 17f791c30f Clarify and modernize a little. 2004-10-19 13:51:57 +00:00
augustss ac26803d62 Update with an additional (useful) example. 2004-10-19 13:39:51 +00:00
dsl ca03792fbe Remove _erase_ch() it isn't used any more 2004-10-16 12:49:14 +00:00
christos e4ff3093af remove unused variable 2004-10-16 07:36:08 +00:00
christos d9d5b79249 - Fix bug in port parsing code; s_port must be in network byte order.
- Factor out port parsing code and add error checking to it.
- WARNS=3
2004-10-16 02:03:54 +00:00
enami 226c6eda62 Make vmstat -s prints:
- uvmexp.pdre{anon,file,exec}.
- real number of namecache stats.
2004-10-15 21:29:03 +00:00
snj c225c39401 Bump date for last and slightly improve wording. 2004-10-13 23:46:42 +00:00
gavan 0560d8b947 Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
2004-10-13 23:28:34 +00:00
sjg 5961096f14 Apply patch from PR 26779
and update man page (not quite per PR 26780).
2004-10-12 16:46:59 +00:00
he 0e68544091 Move declaration of local variables to start of function instead of
inside a block after code.  Fixes build problem for vax, which still
uses gcc 2.95.3.
2004-10-10 22:15:34 +00:00
mrg 6f0ae3f96d don't syslog() or errx() a \n. 2004-10-10 01:16:17 +00:00
wiz bf2f90e799 mkfifo is creating fifos, not directories. Noted by Andrew Doran. 2004-10-08 22:32:35 +00:00
dsl 2c25900b60 Don't abort decompression if there are no bytes in the output buffer
when the end of compressed block (ie the crc) is reached.
(ie when decompressing concatenated zipped files).
Fixes PR bin/27153
2004-10-08 12:46:24 +00:00
wiz 8041597c55 Drop trailing whitespace. 2004-10-07 08:51:08 +00:00
dan 232ea9516c pre-empt wizd (bump date for previous.) 2004-10-07 07:47:31 +00:00
dan 54f2ee2a02 Note potentially surprising file-saving behaviour in case of HTTP redirects 2004-10-07 07:44:17 +00:00
lha f911795b30 Switch to krb5_set_password that can handle the RFC3244 (and the older
change password protocol)
2004-10-05 14:12:56 +00:00
lukem 21271b283d When vis encoding with -S, only remove the trailing NUL if -N isn't used and
the item's size is > 0.
2004-10-04 10:56:12 +00:00
erh c6f93ec983 Make the extended options work on little endian machines.
Allow files smaller than 512 bytes to be received w/o a timeout.
2004-10-02 05:05:35 +00:00
jmmv 564aa25e97 Drop extra space before a dot. 2004-09-26 21:19:47 +00:00
wiz ab90f76ed3 Sync usage with man page (sort, add -O). 2004-09-25 21:48:15 +00:00
wiz 7a57b6bd09 Sort options in SYNOPSIS and in description; use more mdoc macros. 2004-09-25 21:47:53 +00:00
dsl 6e443a613f Change the way crunchgen works when doing 'reachover' builds.
Instead of trying to identify all the .o files that make each target rely
on the targets own Makefile having a program.ro target that will compile
all the objects and link them into a single relocatable.
Rename each program's 'main' to '_crunched_<prog>_stub' instead of compiling
a small piece of C.
The old behaviour can be forced by specifying -O, and is also done if the
config file specifies 'objs' or 'objpaths'.
As well as simplifying the logic, this means you only get a single 'prog.ro
is up to date' message for each program during the build.
2004-09-25 20:43:47 +00:00
dsl eb23ef8ce9 Use a single awk command (instead of awk and a lot of greps) to generate
the list of symbols to be renamed.
Rename symbols to <symbol>$$from%%<prog> (not _$$hide$$<prog>.cro$$<symbol>)
so that gdb reports the symbol name instead of  "_" (the $$ is treated as a
C++ name mangle and nothing after it is output by default).
2004-09-25 20:21:57 +00:00
dsl 8e4e69acab Whitespace police:
if, for and while are not functions,
put controlled statements of if and while onto separate lines
put function names into column 1
2004-09-25 19:21:07 +00:00
dsl ef0ef24324 Remove the always defined RENAME_SYMS and the code that would be
compiled were it defined.
That code is out of date, doesn't work on some archs, and is in the way
of another commit.
2004-09-25 18:32:37 +00:00
wrstuden 699e5d41fb In procese_menu, make sure we initializie the menus
_before_ we access the MENUS macro. Otherwise we get a segfault.
2004-09-17 18:27:28 +00:00
wrstuden e22217703e Catch up with current menuc. 2004-09-17 18:16:44 +00:00
wrstuden af7a153178 Scoot a menu so it fits better in an xterm. 2004-09-17 18:16:31 +00:00
wrstuden 3f87739bc4 Add parenthesis to silence a compiler warning. 2004-09-17 18:15:01 +00:00
hubertf 2fa09966de Change copyright to 2-clause BSD-copyright.
Changed with explicit permission of Thorsten Lockert (tholo sigmasoft com)
2004-09-15 19:45:17 +00:00
wiz bf626dd212 Sync usage with man page. 2004-09-13 23:44:19 +00:00
wiz f70e00b3b6 -s, not -c; add arguments to options; sort options in SYNOPSIS; indent flag descriptions. 2004-09-13 23:44:04 +00:00
thorpej 1209149ad2 Add the uuidgen(1) command, adapted from FreeBSD. While here, also add
a DCE-compatible -s flag, which causes uuidgen(1) to output C code for
the UUIDs rather than the standard string representation.

PR 23470.
2004-09-13 23:35:19 +00:00
yamt 2e1baea952 recognize _Bool. 2004-09-12 08:58:52 +00:00
dsl abc7a82e52 Count the output file size modulo 2^32 so that the check against the size
in the compressed file works for files greater than 4GB.
Fixes the fixable part of bin/26907
2004-09-11 11:07:44 +00:00
itojun 1ce764ab35 use arc4random 2004-09-10 05:34:54 +00:00
jrf 190b2e4c51 Replaced strncpy with strlcpy. Thanks to Peter Postma who
pointed them our in PR #25762. Approved by christos@NetBSD.org.
2004-09-07 13:20:39 +00:00
enami 94265c64d4 Fix default format so that not to print NULL (e.g., ldd mozilla-bin). 2004-09-07 02:54:40 +00:00
martin ee9d1625eb Make it compile on ports where u_quad_t is not printf-format-compatible
with unsigned long long.
2004-09-06 14:51:32 +00:00
dsl 754b92f9b9 The last commit slightly increased the size of gzip - I had thought that
all the install media used the 'SMALL' variant, but this is not the case.
Redo the percentage print code to reduce the size to less than the old version.
Fix another fd leakage (didn't call fclose() if ferror() returned non-zero.
Change some maybe_warn() to maybe_warnx() in places I'm sure errno is undefined.
Call mayber_warn() earlier in other paths so that errno might still be valid.
Make the SMALL and NO_BZIP/COMPRESS_SUPPORT options all compile with WARNS=3.
2004-09-05 21:32:30 +00:00
wiz 89fb08a9ec Bump date for removal of Kerberos option descriptions.
Remove dots at end of SEE ALSO.
2004-09-05 08:48:32 +00:00
manu bd3e12fe2f Kerberos support is broken in rcommands, thus making -K -k and -x options
unavailable. Remove theses options from the man pages (it won't be very
hard to bring them back if we fix kerberos one day)
2004-09-05 08:38:23 +00:00
manu 753bcaf581 IPv4 PIM support, from the submission of Pavlin Radoslavov on tech-net@ 2004-09-04 23:35:43 +00:00
dsl 434117bcce Set the XFL field of the gzip header to indicate maximum compression or
fast compression.  Fixes PR bin/26812
Add references the the 3 relevant RFCs
2004-09-04 10:48:57 +00:00
sketch 6f068797e2 Fix obvious grammar mistake. Most of this file could do with a rewrite. 2004-09-03 14:24:50 +00:00
wiz d05a042013 Sort options. Use more mdoc macros. Some nit fixes. Bump date. 2004-09-01 23:26:10 +00:00
yamt 1575138bfb document default format. 2004-09-01 22:18:20 +00:00
chs dc8f6bbd12 pass data to a function via arguments instead of via global variables.
this avoids a name collision with libcurses functions when both are
present in a crunched static binary.  part of PR 26458.
2004-09-01 01:46:28 +00:00
he d6cee1d93b Cast field width computed from pointer diff and ssize_t to int.
Fixes build for amd64 and presumably for our other lp64 ports.
2004-08-31 10:14:30 +00:00
dsl d55b8a2190 Redo suffix handling so that gunzip xxx.tgx => xxx.tar
Rework logic of gz_{un}compress to make it much less likely to leak fds
    (at least 2 non-error paths leaked them!)
Make -S ".xyz" and -S "" both do something sensible.
Make in-situ compression work - only lose the file on error.
Pass an open fd to zopen (renamed zdopen) to avoid fd leakage (was badly borked)
Write header into first 64k output block to writes are aligned.
    (more efficient and might avoid some problem with code that doesn't
    like receiving partial buffers)
Check file size on compression - double checks against fs full.
Remove some pointless casts, and otherwise simplify some logic.
2004-08-30 14:36:51 +00:00
yamt d25d8e4dbe in "summary" output (-w),
- print setattr instead of readlink as the former is more freqently used.
- add "Others" column to print the total number of other rpcs.
2004-08-26 13:29:05 +00:00
wiz 0c3e116cc5 From OpenBSD:
revision 1.7
date: 2004/04/08 15:18:28;  author: millert;  state: Exp;  lines: +5 -7
When reallocating the line buffer, double the existing buffer
size instead of just incrementing it by LINEBUF_SIZE and use realloc()
+ memset() instead of calloc() + memcpy().  Prevents excessive resource
usage when displaying very long lines.  OK deraadt@, krw@ and otto@

Ok'd by mrg.
2004-08-26 01:29:20 +00:00
wiz 3a8954928b New sentence, new line; punctuation fixes;
sort options in SYNOPSIS.
2004-08-25 12:47:57 +00:00
wiz 4e8c80f100 Drop trailing whitespace. 2004-08-25 12:44:38 +00:00
wiz cfb72c3de3 Adapt to /usr/share/misc/style.
Sync usage with man page.
Use getprogname()/setprogname().
2004-08-24 12:25:26 +00:00
wiz 71ad289a40 One object-file argument is mandatory, noted by jmc@openbsd.
New sentence, new line. Use more mdoc macros.
2004-08-24 12:11:44 +00:00
dsl 5ac85b92f3 Ensure a non-zero 'word_size' is passed to hexdump_buf for unknown
trace types.
Also fix an incorrect use of the global word_size variable
2004-08-23 20:49:28 +00:00
wiz 83e5dd40b4 Sync usage with man page. 2004-08-23 00:42:32 +00:00
wiz a908bd6f92 The conffile argument is not optional; also, move it behind all
the options. Bump date.
2004-08-23 00:42:12 +00:00
christos 5eb3a1ebce Add -v VARSPEC, so that we can pass variable assignments to make(1) 2004-08-19 22:24:04 +00:00
christos 4a49cd4b02 Align usage with other vendor unices:
old -f -> -F
    old -t -> -T
    add -j
    add -f <datafile>
    add -m <msgfile>
    add -t <interval>, as an alias to -r and recognize <num>{w,d,h,m,s}
    add -s <sender>
    document -I as an alias to -i
Also, interpret $SUBJECT in the message.
Correct documentation.
2004-08-19 13:43:54 +00:00
christos 2ec264ee7d WARNS=3 2004-08-19 13:37:07 +00:00
dsl c4d2d498a2 Call doupdate() before copying out of stdscr (avoids PR 26660)
Delete a diagnostic variable.
2004-08-14 15:51:08 +00:00
dsl 43a4fc0e11 NetBSD curses gives the wrong data when you read curscr, need to
add a doupdate() so we save from the correct screen image.
2004-08-14 15:15:57 +00:00
cube 224d89c7db Remove debug printf (hi mycroft!). 2004-08-14 12:53:35 +00:00
dsl 13a7bd52d8 Save and restore screen underneath prompt boxes 2004-08-13 18:26:52 +00:00
lukem d2c6dcc183 Don't base64 encode the trailing NUL in the HTTP basic auth response.
Problem noted by Eric Haszlakiewicz.
2004-08-08 13:52:04 +00:00
mycroft de443fd960 Patch from PR 15181 to try using TCP first, fixing problems with long
responses.
2004-08-06 16:10:54 +00:00
mycroft 0428b497d9 Patch from Olaf Siebert in PR 12688 to handle hard links correctly when
renaming.
2004-08-06 15:50:02 +00:00
mycroft ee776b9f85 Parse multiple options that are specified together; e.g. "-fs".
XXX It is not clear to me why patch(1) doesn't get getopt_long(3).
2004-08-06 14:54:26 +00:00
ginsbach 2841b77712 Append only '@host' to notify email addresses when the destination
host is of the format 'login@host'.  Fixes PR 14412; reviewed by
<christos>.
2004-08-04 02:05:28 +00:00
yamt 496bd8a26d recognize C99 array initializer designators. PR/18896. 2004-08-03 12:11:54 +00:00
wiz 27ef0f1c37 Sort sections; avoid to mark up punctuation unnecessarily; use \*[Lt]\*[Gt]
instead of <>; use Sq.
2004-08-02 22:27:36 +00:00
dsl f5b2286ba1 Support menu windows that preserve the underlying screen contents.
(Needs a libcurses fix as well).
No need to ponce about with __m_endwin (to remember we've done endwin()),
   the old recovery was wrong in any case - but I've left something that
   will do an explicit redraw.
Allow the 'help' text to be from a variable (and hence translated).
Fix the display of help so that the screen underneath is actually cleared.
Preserve the screen contents while displaying help - redraw is too hard.
Use endwin(); doupdate(); to do the full refresh when ^L is typed.
Move menus up the screen if they would hit the bottom with too few lines
   to show an item and the scroll text (happens with big titles).
Make 'y=0' center the window vertically - use of 0 means you can't have
   a menu starting on the topline, but this is unlikely to be a problem.
Make all the menu options settable from the control file, not just from
   dynamic menus.
Redo menu option list part of man page.
2004-08-02 21:29:07 +00:00
wiz 520ec39eba Some improvements from jmc@openbsd. 2004-07-26 16:05:33 +00:00
wiz 4cea33dc9f Sort options in usage. From Kouichirou Hiratsuka in PR 26388. 2004-07-23 13:45:59 +00:00
wiz 8d2e6d57b9 Document -v. From Kouichirou Hiratsuka in PR 26388. 2004-07-23 13:45:31 +00:00
wiz ea9a32c94e Sync usage with man page; use getprogname(). From Kouichirou Hiratsuka
in PR 26387.
2004-07-23 13:44:17 +00:00
wiz 73045ab3f6 Add -E to usage; use getprogname(). From Kouichirou Hiratsuka in PR 26281. 2004-07-23 13:35:22 +00:00
wiz ce7465482b Sort options. From Kouichirou Hiratsuka in PR 26281. 2004-07-23 13:35:02 +00:00
wiz 3ce5fd4931 Sync usage with man page; use getprogname().
From Kouichirou Hiratsuka in PR 26280.
2004-07-23 13:33:22 +00:00
wiz fce3c402ee Sort options in usage and SYNOPSIS, and adapt usage to man page.
From Kouichirou Hiratsuka in PR 26279.
2004-07-23 13:31:50 +00:00
wiz 9c97cd1d5a Uppercase CPU. 2004-07-23 13:29:17 +00:00
wiz d33e19fa7e Drop trailing whitespace. 2004-07-23 13:28:55 +00:00
wiz 1919d4e949 Sync usage with man page. From Kouichirou Hiratsuka in PR 26278. 2004-07-23 13:26:11 +00:00
wiz 2389facffb Sort options in SYNOPSIS. From Kouichirou Hiratsuka in PR 26278. 2004-07-23 13:20:36 +00:00
lukem 85e3997a42 Slightly rework SIGINT handling; if we're exiting the auto-fetch stuff
and sigint_raised is non-zero, reset the handler for SIGINT to SIG_DFL
and raise(SIGINT) so that the appropriate wait(3) status is setup.
Based on solution proposed by Ognyan Kulev.
This should really fix PR [pkg/26351].
2004-07-21 00:09:14 +00:00
lukem 635e66e7d8 Improve parsing of HTTP response headers to be more RFC2616 compliant, and
skip LWS (linear white space; CR, LF, space, tab) and the end of lines and
between the field name and the field value.  This still isn't 100% compliant,
since we don't support "multi line" responses at this time.
This should fix PR [bin/22611] from TAMURA Kent (although I can't easily
find a http server to reproduce the problem against.)

Fix a minor memory leak when parsing HTTP response headers.
2004-07-20 12:46:51 +00:00
lukem 64ab1ddb13 Don't unnecessarily display a 401/407 error when running with -V.
Fix from PR [bin/18535] by Jeremy Reed.
2004-07-20 11:22:27 +00:00
lukem 34f004270e Ensure that "mname" is set in ls() and mls() so that an aborted confirm()
prints the correct name.
Problem highlighted & suggested fix from PR [bin/17766] by Steve McClellan.
2004-07-20 11:05:20 +00:00
lukem 1aa9c35970 If an ftp auto-fetch transfer is interrupted by SIGINT (usually ^C),
exit with 130 instead of 1 (or rarely, 0).
This allows an ftp auto-fetch in a shell loop to correctly terminate the loop.
Should fix PR [pkg/26351], and possibly others.
2004-07-20 10:40:21 +00:00
mycroft 26fc0dfe09 Convert 8-bit signed linear data to unsigned for .wav files. 2004-07-19 19:27:59 +00:00
mycroft 680669cd36 Fix fencepost errors in the conversion functions (making them a bit more like
the kernel versions).
2004-07-19 19:15:05 +00:00
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
mycroft c5817e14e3 Fix a core dump. 2004-07-06 13:19:42 +00:00
mycroft 61290f9727 Fix function calls in the sample server to use the right function name.
From PR 4411.
2004-07-06 07:07:15 +00:00
mycroft f702e25494 Whoops, make "all" work again. 2004-07-03 19:00:25 +00:00
mycroft eb8fd502d1 Using timeout() to control refresh gets rid of a whole pile of signal-related
lossage.
Making ungetch() signal-safe, as ncurses seems to, would be better, though.
2004-07-03 18:54:47 +00:00
mycroft 30aaa9067a Use KEY_RESIZE. Might as well have something in our source tree that does. 2004-07-03 18:31:36 +00:00
mrg 13e5b34e5b fix "zcat -f" on normal files. fixes PR#26145 2004-07-03 09:39:30 +00:00
sjg 3a0c68edfd Add support for SHA1 hashed passwords.
The algorithm used is essentially PBKDF1 from RFC 2898 but using
hmac_sha1 rather than SHA1 directly (suggested by smb@research.att.com).

 * The format of the encrypted password is:
 * $<tag>$<iterations>$<salt>$<digest>
 *
 * where:
 *      <tag>           is "sha1"
 *      <iterations>    is an unsigned int identifying how many rounds
 *                      have been applied to <digest>.  The number
 *                      should vary slightly for each password to make
 *                      it harder to generate a dictionary of
 *                      pre-computed hashes.  See crypt_sha1_iterations.
 *      <salt>          up to 64 bytes of random data, 8 bytes is
 *                      currently considered more than enough.
 *      <digest>        the hashed password.

hmac.c implementes HMAC as defined in RFC 2104 and includes a unit
test for both hmac_sha1 and hmac_sha1 using a selection of the Known
Answer Tests from RFC 2202.

It is worth noting that to be FIPS compliant the hmac key (password)
should be 10-20 chars.
2004-07-02 00:05:23 +00:00
drochner e87f74fd64 put the __packed__ attribute close to the struct definition
(to appease gcc-3.4), and use the compiler-independant __packed
form for consistency
2004-07-01 20:56:34 +00:00
jmc a2bacbeec5 Change to use __unused instead and provide a compat definition in make.h if
not already defined from cdefs.h
2004-07-01 20:38:09 +00:00
jmc 71a252d58b Add some checks for gcc around a few function declarations and note the
unused variables. Also fix a few other warnings that PR#22118 shows when
trying to compile bmake on non-NetBSD hosts
2004-07-01 04:39:30 +00:00
jmc f648d12d47 Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
uwe 06c338a198 Fit ASCII output onto an 80-column terminal. From FreeBSD. 2004-06-27 19:12:33 +00:00
uwe 150ca6a7f2 Fix a few typos. From FreeBSD. 2004-06-27 19:04:54 +00:00
jonathan f8aeaf6223 Fix two stupid bugs I introduced with stats for fast-ipsec:
1. Pass the caller-supplied protocol name down through ipsec_switch().

2. Remove my poor attempt to print fast-ipsec stats automagically for
`netstat -s'.  The previous code would print (fast)IPsec per-protocol
stats even for 'netstat', which is just wrong.

A better fix would be to enumerate the sub-"protocols" under IPsec;
but first lets fix the broken behaviour now, for a pullup to 2.0.
2004-06-27 01:10:53 +00:00
wiz b25f3c1fec Drop trailing whitespace, and bump date for previous. 2004-06-24 15:59:13 +00:00
christos 1e77a9474a Fix a bug in ktruss and ktrace, where they would randomly stop tracing if
the write to the ktraced file descriptor (when they used fktrace internally)
would block. Fix by clearing the non-blocking bit in the file descriptor by
default, so that the writes will block. This has the side effect of stopping
the traced process. Add a flag to override (-n) this behavior and have the
trace stop without blocking the traced process (the previous behavior).
Fix lint, add checks to failed syscalls, ansify.
2004-06-24 15:50:50 +00:00
christos ab5ca5c5d6 Include ioctl's that don't have IO in their names [lkm ones eg.] 2004-06-22 17:30:52 +00:00
mrg 3c372acd10 if there are zero bytes to output, this isn't an error. it's probably
a zero length file.  don't return an error.  this should fix PR#25994.
2004-06-22 12:01:29 +00:00
jmc fde002f8c3 Don't include ${DESTDIR}/usr/include/krb5 if HOSTPROG. It's not needed and
could possibly cause an error (though remote). Found during investigation of
PR#26000
2004-06-22 02:44:11 +00:00
jmc b2f782612f Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
jmc 55082c81c2 Force LANG=C before doing the shell glob to avoid collation issues on hosts
(otherwise it might pick up CVS for instance)
2004-06-16 01:33:35 +00:00
dbj 44b22e2058 Use open address hashtable with multiplicative double hash probing
and exponential hashtable growth for tracking previously seen inodes.
This replaces the O(n^2) behavior of linkchk() with an implementation
that should be O(n*logn)
This addresses NetBSD PR bin/25857
2004-06-13 11:30:10 +00:00
aymeric 64c877a4e9 bump: bin/25849 fixed. "rapid resize can crash vi" 2004-06-13 10:17:14 +00:00
aymeric 400171c34b . don't call newterm() more than once; use setterm() and resizeterm() instead
on subsequent calls. Newterm() would fail after a few calls, leading to vi
  exiting with a "ex/vi: error initializing terminal" message
. if tcsetattr() fails due to EINTR, ignore it

Fixes PR #25849
2004-06-13 10:15:55 +00:00
mycroft b00b298ce8 Fix a display glitch when blanking out drive columns. 2004-06-13 08:56:21 +00:00
grant 55ed2aadb5 apply patch in PR to avoid writing to unallocated memory.
fixes PR bin/25911 from SHIMIZU Ryo.
2004-06-13 08:34:31 +00:00
grant 1e6747bd53 apply patch in PR to fix argument parsing bug.
fixes PR bin/24234 from Keisuke YOSHIDA.
2004-06-13 08:31:30 +00:00
minskim 5b777c8343 Fix a bug that made sed(1) fail if the last character of the line
buffer was a backslash.  This closes PR bin/25899.

Patch was borrowed from FreeBSD.  Their log says:

    Fix a bug in sed(1)'s "s" command wherein if an escape ("\"
    character) was initiated at the last character of the line buffer,
    the Wrong Thing was done and sed barfed by interpreting the
    following NUL byte as a digit.  Instead, pull up the next buffer
    and record that the "\" was last seen.

OK'ed by jmc@.
2004-06-12 04:29:22 +00:00
wiz b5ab3c4d69 & -> \*[Am]; remove a comma. 2004-06-07 03:37:52 +00:00
mrg c6c68fa810 handle_pathname: if it's stdin, return after handling it, rather than
trying to then process "-" as a file afterwards.  fixes PR#25843.
2004-06-07 03:24:01 +00:00
christos 45a11d4b25 Temporary hack to fix ipsec stats lossage. Atatat, are you listening? 2004-06-06 17:11:48 +00:00
kleink 98fe2fbcd7 Fix an inversed test for NO_STATUS in rev. 1.103; fixes the real issue
behind PR bin/25842.
2004-06-06 13:53:28 +00:00
pooka a7fd6646a7 make this compile without NO_STATUS
fixes bin/25842 by Jukka Salmi
2004-06-06 13:37:16 +00:00
mrg 11153dbc8d - maybe restore the timestamp
- don't create the output file with "-l"

both from geoff wing with a few mods by me.
2004-06-06 12:28:52 +00:00
fair 6517f6d315 Be the wiz. Update the date. New sentence, new line. Slightly
clarify the circumstances under which the compiler/linker will
merge strings (identical & read-only; how could it do otherwise?)

This, and the other stuff Christos has done is partly an answer
to PR 25835.
2004-06-06 08:19:56 +00:00
christos 836ba5076b remove debugging string. 2004-06-06 07:09:55 +00:00
christos 5acfe8430e Explain why this cannot be easily fixed. 2004-06-06 07:09:02 +00:00
christos 2ba7f07368 Add hook for SMALL 2004-06-06 06:39:43 +00:00
christos 6f0701b22e Explain what xstr can and cannot do, and why it is not useful these days. 2004-06-06 06:15:45 +00:00
christos 9211fa02e8 - deal with ansi string concatenation.
- don't overflow the string copy buffer.
- increase the input line buffer.
2004-06-06 04:53:14 +00:00
wiz 2b4f927dff Add article. 2004-06-06 04:04:36 +00:00
christos 999ef51181 remove copyright and comment sections. Saves ~40K on the crunched
ramdisk binary.
2004-06-06 01:46:53 +00:00
christos 4c77cb2cb2 Save approximately 8K by not including http authentication, extended status
messages and help strings when the appropriate options are set.
2004-06-06 01:37:41 +00:00
dsl 52ebceff84 Improve editing of input fields:
<- and -> move within the field
-> will pull default string into empty buffer
^H (etc) will delete default string from buffer (first press)
Put default string into display buffer if long and input in box.
Scroll input text if longer than space on line.
2004-06-05 19:05:36 +00:00
mrg 9e9fa78434 explicitly lseek() to offset 10 to read the original name. fixes a
latent bug awoken by rev 1.37 (prior versions always left the fd at
this offset purely by chance.)  fixes PR#25824.
2004-06-05 15:47:10 +00:00
jdolecek 2abf86d47c add history section noting nawk is default since 2.0, and bump date 2004-06-05 12:10:08 +00:00
wiz 22b156ef33 Remove DISCLAIMER section, which is just part of the usual BSD license
(which is also in comments at the top of the file).
2004-06-04 10:28:37 +00:00
wiz c7cdc4e68b Convert SEE ALSO to use Rs/Re. 2004-06-04 10:25:22 +00:00
kleink c6aa3261e7 Remove duplicate header inclusions; from Jeff Ito in PR bin/25797. 2004-06-03 18:33:57 +00:00
kleink cee29a73ab Remove a trailing blank line; from Jeff Ito in PR bin/25797. 2004-06-03 18:32:18 +00:00
atatat 90bf99f1fb If using stat (the -L flag) and it fails, fall back to lstat(). It
may be the case that we're examining a broken symlink, and anything is
better than nothing.
2004-05-28 04:48:31 +00:00
aymeric 12c9a81707 -I. is part of CPPFLAGS, not CFLAGS. Make it so, allows to lint. 2004-05-25 16:47:31 +00:00
lha c569aad96a Add kgetcred, a tool that fetches a credential from the KDC
Useful when debugging service and cross-realm problems.
2004-05-25 10:31:45 +00:00
mrg 9b954397e0 use "zcat -fq" not just plain "zcat". this lets zgrep work on non
compressed files (as reported by simonb) as well as not printing
random warnings that zgrep isn't ready to handle.
2004-05-25 07:09:09 +00:00
mrg 2d5e05af49 - fix "gzip -t" to not output anything by default. PR#25507
- fix any decompression on corrupted gzip files.  PR#25508
- ask to overwrite files if we have a tty, rather than failing the
  operation.  PR#25509.
- clean up maybe_err()/maybe_warn(): use maybe_err() only for fatal
  errors.  maybe_warn() is for processing errors.  this allows
  "gzip -d file1.gz file2.gz" to decompress file2.gz even if file1.gz
  is corrupted, etc.
- change the internal compressor/decompressor API to return "-1" on
  failure, not 0.  this allows for 0-sized files to be decompressed
  correctly.
2004-05-25 04:34:40 +00:00
skrll d44ea9e7e9 Bump the date. 2004-05-23 06:51:42 +00:00
skrll f835ef11b6 Implement %x for ELF. 2004-05-23 06:51:05 +00:00
lukem b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
christos dbf34104b4 PR/25680: Christian Biere: whereis/which return invalid information with
huge path
2004-05-23 02:24:06 +00:00
agc 5fe88849a1 WARNS=3: add some const poisoning, and sort out local variable
definitions shadowing other variables.

Pass storage for file names into the file_compress and file_uncompress
functions, so that we don't run the risk of leaking memory. Remove a global
variable that's no longer needed.
2004-05-21 12:16:10 +00:00
itojun cf6b841417 print stat for TCP MD5 signature 2004-05-18 14:44:41 +00:00
cube 5446fd12e5 Teach getopt about the new -0 option. Noted by Jeff Ito in PR 25621. 2004-05-18 04:09:21 +00:00
agc f8dc59869d Fix a reference to stale storage on the stack - malloc the new file
name when gunzip'ing via strdup(3).  Fixes a bug whereby the new
filename would appear as gibberish when verbosely gunzipping.

Fix an off-by-one error when allocating the filename with added suffix,
and properly NUL-terminate the new filename.

It's NULL, not 0, in char * assignments - there are some still to do here.
2004-05-17 18:10:33 +00:00
wiz a013e0ff4c Use more macros. 2004-05-17 15:36:17 +00:00
simonb ef7c5f2d47 Add a "-n" flag that will ignore files/directories with the "nodump"
flag set.  Useful when used in conjunction with "dump -h" to size dumps.
2004-05-17 01:56:19 +00:00
lukem ee04d88971 Consistently use CONFIGFILES & CONFIGLINKS (which enable the 'configinstall'
target) instead of using home-grown 'distribution' targets or using
FILES with the 'install' target.
Add some etc/ subdir Makefiles where appropriate.

XXX: some of etc/Makefile install-etc-files could be converted to CONFIGFILES.
2004-05-16 09:53:09 +00:00
wiz fd08660c9a \*[Gt] instead of >; sort SEE ALSO. 2004-05-14 22:07:21 +00:00
christos 2f5db2d55d s/notreached/noreturn/ 2004-05-14 22:04:01 +00:00
christos b4b51ab090 Document and implement -f for elf objects. 2004-05-14 21:56:45 +00:00
christos ce9f2915a6 PR/25566: Anders Magnusson: ftp(1) do not like large TCP windows.
Limit it to 8M.
2004-05-14 18:39:21 +00:00
darcy e063143584 Spelling fix. Deomcratic ==> Democratic. 2004-05-14 07:53:22 +00:00
wiz 0b35256a71 Sort options; drop trailing space and a superfluous s. 2004-05-12 18:49:30 +00:00
christos b1f894b9cc add a 'v' flag to display a version number so that our usage matches with
everyone else's rpcgen.
2004-05-12 15:59:54 +00:00
christos 88011fdf59 One step closer to reality:
- missing flags described
- synopsis was wrong
- explain -b better
2004-05-12 15:58:12 +00:00
kleink b8b70c35bd No need to document -b twice; from mrg. 2004-05-12 13:02:01 +00:00
kleink ec0a506605 Sync with reality: -b hasn't been the default for almost 4 years. 2004-05-11 23:19:56 +00:00
wiz 77fe0bb5b1 Remove some duplicate entries, and improve another entry.
From Sergey Svishchev in private mail.
2004-05-11 22:52:43 +00:00
martin 00b23860a0 "bufmem" is unsigned long inside the kernel, so don't try to grovel it out
of kmem as a unsigned int.
Also avoid overrunning VCACHE_SIZE, thus scribling over unrelated memory.
Fixes PR port-sparc64/25537.
2004-05-11 21:56:20 +00:00
drochner 7723c241ec remove creation of the intermediate "sourcefile" which was for debugging 2004-05-10 20:46:44 +00:00
hannken 97b2d1519a Add "sys/dkbad.h" for DIOCSBAD from sys/dkio.h.
Use # to start comment in awk program.
2004-05-10 20:41:32 +00:00
christos ff5de51147 Change code to use a switch statement, and add exceptions to fix the
conflicts.

XXX: Fix the conflicts.

1. chio: change to 'x' from 'c' so that it does not conflict with cdio.
   keep the 'c' ioctls in the driver for compat.
2. ppp/slip: change SLCGUNIT to some other number and accept the old number
   in the driver.
3. ipf: [3 instances] Have darren fix them.
2004-05-10 15:25:57 +00:00
snj b706bc6de5 English fix. 2004-05-09 18:59:52 +00:00
petrov 68cb92eb3b Forgotten $ for NetBSD key. 2004-05-09 03:20:44 +00:00
petrov 6e4bb32a73 Use int_fmtio.h and PRUx formats for longs. 2004-05-09 03:18:50 +00:00
jmc 7492226095 Add another exception for broken includes (showed up on acorn32 build) 2004-05-08 21:03:43 +00:00
wiz faa47b7058 Add comma in enumerations; fix a sentence; plural needs no apostrophe. 2004-05-07 08:23:31 +00:00
sjg 4d3fc51f60 Remove use of sh -e when running in compat mode.
Its not posix compliant and serves very little purpose.
With this change compat and jobs modes are consistent wrt how
they treat each line of a script.

Add support for the '+' command line prefix as required by posix.
Lines prefixed with '+' are executed even when -n is given.
[Actually posix says they should also be done for -q and -t]

PR:
Reviewed by: jmc
2004-05-07 08:12:15 +00:00
jonathan 85b3ba5bf1 Redo net.inet.* sysctl subtree for fast-ipsec from scratch.
Attach FAST-IPSEC statistics with 64-bit counters to new sysctl MIB.
Rework netstat to show FAST_IPSEC statistics, via sysctl,  for
netstat -p ipsec.

New kernel files:
	sys/netipsec/Makefile		(new file; install *_var.h includes)
	sys/netipsec/ipsec_var.h	(new 64-bit mib counter struct)

Changed kernel files:
	sys/Makefile			(recurse into sys/netipsec/)
	sys/netinet/in.h		(fake IP_PROTO name for fast_ipsec
					sysctl subtree.)
	sys/netipsec/ipsec.h		(minimal userspace inclusion)
	sys/netipsec/ipsec_osdep.h	(minimal userspace inclusion)
	sys/netipsec/ipsec_netbsd.c	(redo sysctl subtree from scratch)
	sys/netipsec/key*.c		(fix broken net.key subtree)

	sys/netipsec/ah_var.h		(increase all counters to 64 bits)
	sys/netipsec/esp_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipip_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipcomp_var.h	(increase all counters to 64 bits)

	sys/netipsec/ipsec.c		(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_mbuf.c	(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_output.c	(add #include netipsec/ipsec_var.h)

	sys/netinet/raw_ip.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/tcp_input.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/udp_usrreq.c	(add #include netipsec/ipsec_var.h)

Changes to usr.bin/netstat to print the new fast-ipsec sysctl tree
for "netstat -s -p ipsec":

New file:
	usr.bin/netstat/fast_ipsec.c	(print fast-ipsec counters)

Changed files:
	usr.bin/netstat/Makefile	(add fast_ipsec.c)
	usr.bin/netstat/netstat.h	(declarations for fast_ipsec.c)
	usr.bin/netstat/main.c		(call KAME-vs-fast-ipsec dispatcher)
2004-05-07 00:55:14 +00:00
ross 42dbdbd46a Simplify build, no functional changes.
Instead of adding MAKE_BOOTSTRAP for hosted environments, i.e., when
you want things simple, instead add MAKE_NATIVE to get those hugely
important features like __RCSID().

It's now possible to build make on some hosts with: cc *.c */*.c
2004-05-07 00:04:38 +00:00
ross dcdf1bd27a Instead of including from the wrong directory and then fixing it (-I)
in the Makefile, how about just doing the right include?
2004-05-06 23:15:46 +00:00
matt 10efbfd5c3 Allow kdump to print the names for machine dependent ptrace ops.
(This requires <machine/ptrace.h> to define PT_MACHDEP_STRINGS
which corresponds to the machdep ops).
2004-05-06 22:51:38 +00:00
bouyer 41bff69bbe Always initialise savename. Fix gzip -c core dump on sparc (and probably
others). OK'd by mrg@.
2004-05-06 17:43:57 +00:00
cjep 033a0de92f bump version due to today\'s changes 2004-05-05 15:06:33 +00:00
cjep f7b1c3362b update 2004-05-05 14:52:34 +00:00
cjep 0d48a39432 Implement --line-buffered. From OpenBSD. 2004-05-05 14:34:55 +00:00
wiz 9bdf6284c2 Mention -c explicitly, use Nm, drop trailing space,
and sort enhancements in history section alphabetically.
2004-05-04 23:44:21 +00:00
mrg 53e1c6f576 add support for:
-q quiet; never show filename headers
	-v verbose; always show headers
	-c <bytecount>; count <bytecount> bytes, not lines

as seen in GNU head(1).
2004-05-04 10:57:42 +00:00
aymeric adf0b1c6ca bump for latest bug fix: flush the cached line on every DB operation 2004-05-02 17:01:53 +00:00
aymeric 59b6c0290c flush the current line cache on every operation on the DB.
We can't keep a reference to data returned by libdb after a subsequent call to
any other libdb function on that DB.

Fixes a bug reported privately by Miho Taniyama (thanks!)... and hopefully
other hard-to-reproduce bugs.
2004-05-02 17:00:31 +00:00
wiz af350435db Remove typeset line, since sh(1) does not support it.
Closes PR 25403 by Jukka Salmi.
2004-05-01 08:22:41 +00:00
mrg 99d2aa3dc3 clean up file descriptor handling. don't lose them... 2004-04-27 13:45:50 +00:00
mrg a9c239e635 - the default compression level in GNU gzip is 6 not 5; copy that default.
- note that -t/-l/-v & bzip2 is not handled the same as gzip in a comment.
2004-04-27 11:26:28 +00:00
kleink 7c84af2ef7 Remove a leftover line apparently from rev. 1.17; also from Juha Hyttinen
in PR bin/25347.
2004-04-27 10:26:22 +00:00
cjep 4d862106fe Fix typo (SU_INDIRECT_GROOP -> SU_INDIRECT_GROUP). PR#25347 from
Juha Hyttinen.
2004-04-27 10:12:51 +00:00
jdolecek dd23e5ed48 quote pattern when passing to grep, so that paterns containing
spaces would be handled properly

fixes PR bin/25345 by Arto Selonen
2004-04-27 09:18:16 +00:00
mrg b02eba12c2 crank version. 2004-04-27 02:25:06 +00:00
mrg d6dd48bc60 - fix "gunzip file.gz"
- fix "gzip <lots of files>"

both reported by tron@.
2004-04-27 01:23:35 +00:00
mrg 4db02197fc - properly parse --fast/--best/-1..-9 again. noted by taca@.
- minor clean up.
2004-04-26 03:01:55 +00:00
mrg 1d0e9794a0 significantly rototill. don't use the high-level gzio functions
anymore, use the low-level inflate()/deflate() directly.  this
allows support file-type detection on stdin; now can decompress
.Z and .bz2 files fed to stdin (fixes PR#25192) additionally it
makes -v work with stdin or stdout (fixes PR#25215.)

(with these changes, we no longer need gzopenfull(3) in libz.)

thanks to martin@ for the code gzip.c:gz_uncompress() is based on.
2004-04-25 16:20:33 +00:00
christos ecd199b9f5 deal in a saner way with const strings. 2004-04-23 22:24:34 +00:00
christos 195f245afe constify, warns = 3 2004-04-23 22:14:57 +00:00
christos 4f6045fcb4 constify and warns = 3 2004-04-23 22:11:44 +00:00
christos e2c2ba101a add WARNS=3 2004-04-23 21:39:43 +00:00
christos 5cb9041b96 const, knf, WARNS=3 2004-04-23 21:39:33 +00:00
christos dc84240d2e PR/15897: Ryo HAYASAKA: fdformat does not know about terminal width.
also:
	constify, ansify, pass lint.
2004-04-23 15:04:27 +00:00
christos a3c9c13e94 WARNS=3 2004-04-23 14:50:00 +00:00
hannken aa9b145692 Don't invoke the egrep for cleandir and obj targets. Needed for build.sh.
Use ".if !make()" instead of ".if !target()".
2004-04-23 12:05:53 +00:00
hannken 1466f8c9d9 Undo last commit -- doesn't work. 2004-04-23 09:50:21 +00:00
hannken 0c0fbf545a Don't invoke the egrep for cleandir and obj targets. Needed for build.sh. 2004-04-23 09:28:56 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
simonb ba5d7d507c s/the the/to the/. 2004-04-23 02:55:11 +00:00
christos 19e4b9c5ad Instead of pussy-footing around and grabbing a few of the ioctl's here and
there randomly, grab all the ioctls from the include files.
Read the XXX's in mkioctls about problems with our header files.
2004-04-22 22:31:18 +00:00
ross fcce1f91eb Recognize -- (dash dash) and apply the usual interpretation.
Notes:

* The immediately previous version of make errored out on --,
which is what needs fixing.

* Historic bsd make silently ate -- and continued to process
options, so this is a behavior change from that, too, but presumably
there is more to gain in fixing it than in being bug-compatible.
2004-04-22 21:19:02 +00:00
lukem a63d7117f9 Add -h to decode RFC 1808 URI style encoding (VIS_HTTPSTYLE). 2004-04-22 06:55:15 +00:00
lukem ee913daaf9 fix silly cut & paste error in -h description 2004-04-22 06:53:43 +00:00
lukem a5bde8e7c5 Add -h to enable VIS_HTTPSTYLE.
Reorder getopt & usage strings to be alphabetical to match man page.
2004-04-22 06:35:02 +00:00
christos 6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
lukem 1efa87943c Rework "ignorefs" behaviour:
*	types are added to (rather than overriding) the default list
    *	Still use "ignorefs none" to clear the list (including the default list)
    *	Fix argument parsing when using "none"
This makes "ignorefs" much more useful if you just want to add another
fstype to the default list.

Simplify variable assignment.
2004-04-19 01:05:22 +00:00
lukem 1df7609f71 xref locate.conf(5) 2004-04-19 00:32:44 +00:00
lukem 5d3311e08a tweak roff in previous 2004-04-19 00:28:11 +00:00
lukem 3333d5f7f7 Use "sysctl vfs.generic.fstypes" to determine the list of available fstypes. 2004-04-19 00:18:46 +00:00
snj b5746867c3 Lincoln was fatally shot on the 14th, and only the 14th. Move the more
detailed entry from 04/16 to 04/14.
2004-04-17 04:06:55 +00:00
sjg 3c6b696332 Allow "string" and "${varspec}" on lhs of conditionals.
This makes it possible to use expressions like
${("${LIST:Msomething"}):?present:absent}
it also makes treatment of lhs and rhs more consistent, and
makes CondToken easier to read.

Update unit-test/cond1 to test new features.
2004-04-13 16:06:23 +00:00
mrg 98445d2478 be sure we don't try to remove an output file we haven't actually created.
(reported by kimmo.)
2004-04-12 14:42:14 +00:00
lukem f3c773016a If connect(2) in xconnect() fails with EINTR, call select(2) on the socket
until it's writable or it fails with something other than EINTR.
This matches the behaviour in SUSv3, and prevents the problem when
pressing ^T (SIGINFO, which is marked as restartable) during connection
setup would cause ftp to fail with EADDRINUSE or EALREADY when the
second connect(2) was attempted on the same socket.
Problem found and solution provided by Maxime Henrion <mux@freebsd.org>.
2004-04-10 12:21:39 +00:00
lukem aacb86f622 whitespace consistency tweak 2004-04-10 12:02:43 +00:00
atatat e9814619fb sysctl(3) no longer returns ENOPROTOOPT in this case, but ENOENT,
which is a more generic "that's not in the tree" response.

ENOPROTOOPT was specific to the net subtree under the old framework,
and didn't add much value (other than letting the caller know they
were looking up something under the net subtree, which they presumably
ought to have known already).
2004-04-09 18:48:05 +00:00
sjg df910819de Revised patch for catching extraneous .else's
We actually need to tack condTop and skipIfLevel.
Bump MAXIF while here.
Enhance the unit-test for conditionals to exercise more code.

PR: 24420
2004-04-08 07:24:26 +00:00
sjg ab4f0bc644 Back out previous patch for now.
Breaks bsd.obj.mk
2004-04-08 01:35:33 +00:00
sjg 8bef426d13 Add check for extraneous .else's - based on patch from Arne H. Juul
in PR/24420.
Add a unit-test for conditionals.
Also in the unit-test makefile strip any .CURDIR in output.

PR: 24420
2004-04-08 00:59:01 +00:00
mrg ff187e728e - completely rewrite print_ratio(). fixes PR#25072 and a few other cases
- print_list() was getting the compressed/uncompressed sizes backwards.
2004-04-07 14:25:43 +00:00
christos 2a1bd4a323 - more void casts
- knf nits
- check for fdopen failure
2004-04-05 23:11:34 +00:00
christos 5a95d1e200 PR/25065: Arne H Juul: Typo in debugging output. 2004-04-05 21:17:27 +00:00
aymeric 263ab3f13d bump version: failed recovery doesn't prevent edition anymore 2004-04-05 07:22:39 +00:00
aymeric 14069c4665 Don't fail if asked to recover a file for which there is no recovery file.
Just continue. This matches the man page, the POSIX standard, and even the
comment above that code!
From OpenBSD, via jmc@openbsd, via wiz@netbsd.
POSIX part confirmed by kleink@netbsd
:-)
2004-04-05 07:19:08 +00:00
aymeric 1bc3c9fb86 fix copying and freeing of options, patch from yamt@ in PR bin/25050. Thanks! 2004-04-05 06:59:15 +00:00
wiz 2be3546ee6 Use setprogname(); sort options in usage. 2004-04-04 10:29:20 +00:00
christos ea764b2823 - add debugging flag
- use getprogname everywhere
- fix bug where if no .vacation.db existed, and the first message was not
  suitable for reply, vacation would create a 0 length db file, and from
  then on it would fail to process.
- handle e-mail address parsing better.
2004-04-04 01:19:35 +00:00
christos 4dae1e8533 document debugging flag. 2004-04-04 01:17:29 +00:00
christos 911c325c50 reverse logic in from test; from wiz 2004-04-03 23:57:32 +00:00
christos 103578edc3 fix date and wording; suggested by wiz 2004-04-03 23:56:49 +00:00
christos 58fa7a1588 - Fix bug in the determination of apparently-to and delivered-to.
- Add -f flag to look in Sender:, From:, and Return-Path: for the sender.
2004-04-03 20:55:13 +00:00
lukem f9f551db32 Support strsuftoll(3) suffixes for '-l length'.
Provide an example of copying raw disks using dd, with a progress bar.
2004-04-03 06:19:22 +00:00
aymeric 5f3a5a8279 fix the way the ext2fs-specific size and mode variables are fetched:
they are indirectly gotten from kernel memory and as such should be read
with KVM_READ.
This fixes fstat core dumps when some process holds a reference in a Linux
ext2fs filesystem.
Thanks to Aleksy Schubert (alx.at.mimuw.dot.edu.dot.pl) for debugging this
with me.
2004-04-02 14:22:05 +00:00
wiz 3955de94f7 Bump date for previous. 2004-04-02 11:47:55 +00:00
jmmv cc48ee25f5 Use ${0##*/} in examples instead of $0, so that they can successfully create
the temporary file even if the test program is executed given its full path.
That is, running /somewhere/test.sh could result in a call to mktemp like
mktemp /tmp//somewhere/test.sh.XXXXX, which fails.
Fixes PR misc/23447 by Piotr Meyer.
2004-04-02 10:44:22 +00:00
christos 54c7540419 Set our uid and gid to the effective user and group id's of the current
process so that access(2) DTRT's (from Peter Postma).
2004-04-01 22:14:48 +00:00
christos 70b5dfe845 Resurrect which(1), blessed by core. 2004-04-01 21:41:37 +00:00
christos 60a197ff0e Fix const problem. 2004-04-01 21:41:14 +00:00
christos 745a6d0f0e - add which(1) functionality.
- fix bug where if a program appeared in more than one place it would
  erroneously exit(2)
- fix error messages to use err and errx as appropriate.
- made sure we don't pick up directories or non executable files.
2004-04-01 20:50:32 +00:00
martin 12920ed961 Remove which (the csh script installed in /usr/bin).
It was docuemented to work for *csh users only, and all *csh have a builtin
of that name, which works even better. All other shells have similar
builtins, and this led to confusion several times. Fixes PR 13462.
2004-04-01 14:41:53 +00:00
mrg 8a618ce17c remove a chunk more code with -DSMALL and in the process fix -DSMALL
that was broken in the previous commit (by exposing "fflag".)
2004-03-31 15:46:25 +00:00
tron 17ebf9b589 Handle files with link count larger than 1 if "-f" option is used. This
is consistent with the old "gzip" and required by "pkgsrc" to implement
"MANZ" properly.
2004-03-31 15:19:14 +00:00
jmmv 31d9ef775a Drop some unnecessary whitespaces from the usage message. Closes PR bin/24993
by Kouichirou Hiratsuka.
2004-03-31 13:01:00 +00:00
wiz e3366bb6be Bump date for previous, and sort a bit. 2004-03-31 01:46:22 +00:00
heas a7353cbe7c Mention -type w, which is coded as a synonym for W (whitespace). 2004-03-30 22:54:04 +00:00
heas 171a04291f Whitespace nit 2004-03-30 22:51:55 +00:00
heas 59d5c91fe0 Do not skip whiteout files returned by fts_read(), which only returns them if
requested.

Patch from Dave Huang in PR bin/5419.
2004-03-30 22:51:13 +00:00
wrstuden fa94e7cb27 Tweak change for Asimov's entry some. Restore reference to
Russian SFSR, but note that it's now Russia, not part of the USSR.
2004-03-30 22:29:19 +00:00
minoura 4061afd6fd Johann Sebastian Bach I mentioned in the previous commit seems
wrong.  Remove it, and put a part to the correct entry.
2004-03-30 12:33:50 +00:00
mrg ff930808e7 backout previous. fix the bug it inspired instead. we will want this
version of the code when doing file-type detection.
2004-03-30 11:43:32 +00:00
mrg 7149a52947 factor out filetype checking code 2004-03-30 11:42:04 +00:00
mrg d4e27c8dfb use off_t instead of ssize_t in a few places.
fix "gzip -l" in -DSMALL (it wasn't doing a stat(2)).
2004-03-30 09:42:58 +00:00
mrg 70da2f0f10 patch from tron@ to convert to using public bz interfaces. simonb says
no reason not to and this fixes PR#24964.
2004-03-30 09:15:07 +00:00
jdc a775b2011b Note in the BUGS section that some termcap entries don't have
reset capabilities, so use init instead.
Part of the fix for PR misc/11052
2004-03-29 20:56:24 +00:00
minoura 8d4ece79fc - AFAIK, Samuel Barber and Edward Elgar are composers; move them to
calendar.music, complementing Barber's birthday.
- Remove duplicating Beethoven's birthday.
  (some materials say it's 12/16, some say 12/17, and some christened on
   12/17...  I do not know which is correct)
- BTW, who is Johann Sebastian Bach born on 05/22, 1665?
2004-03-29 13:24:24 +00:00
wiz 1612675940 s/compress/gzip/, our compress is not the backend for gzip.
Noted by hubertf.
2004-03-29 09:59:42 +00:00
mrg ed20265f67 shave another 612 bytes off -DSMALL on x86. now x_gzip with -l support
is actually smaller than the older x_gzip without it!
2004-03-28 13:54:44 +00:00
grant bfea1fe663 add birthdays of pkgsrc support for AIX, BSDI, Darwin, IRIX, FreeBSD,
Linux, NetBSD, OpenBSD and Solaris.
2004-03-28 12:48:53 +00:00
mrg 15fba948a6 still do argv[0] processing -DSMALL, from tsutsui.
pass the smaller list of options to getopt with -DSMALL.
2004-03-28 08:18:14 +00:00
mrg 720263a2ef crank version 2004-03-28 04:13:40 +00:00
mrg d7f0a538e2 remove a bunch more stuff with -DSMALL. now we are about 400 bytes larger
than x_gzip... given we add -l support, time to retire x_gzip/gzip.c.
2004-03-28 04:07:45 +00:00
mrg 57a27c0187 remove another 3KB or so of text/data on i386 with -DSMALL. now only
about 1.1KB larger than the old x_gzip sources, but includes (required
for sysinst) gzip -l support.
2004-03-28 03:47:18 +00:00
tsutsui b6e59003c4 Allow disabling bzip2 (.bz2) and compress (.Z) support
by -DNO_BZIP2_SUPPORT and -DNO_COMPRESS_SUPPORT.
OK'ed by mrg.
2004-03-27 22:33:43 +00:00
soren 2a2693ed37 PR bin/24029: Asimov was born in Russia, the USSR no longer exists. 2004-03-27 15:18:31 +00:00
jdolecek 2eb16b781e move the GNU awk-based awk.texi back under src/gnu/dist/gawk/,
it's covered by GNU Documentation Licence and thus shouldn't be mixed
with free code
2004-03-27 11:34:11 +00:00
martin 9df8f56ac0 A __attribute__((__noreturn__)) function better be void - gcc correctly
complains at >= -O3 otherwise.
2004-03-27 00:53:59 +00:00
enami 84b05f6e6e Validate existence of arguemnt. PR#24933. 2004-03-27 00:17:08 +00:00
jdolecek 0f0ea58942 copy over the gawk 3.1.3 info file and g/c the rules to build it from
gawk sources
2004-03-26 16:55:15 +00:00
mrg 1d5769dcfc switch over to mrg gzip. 2004-03-26 08:52:26 +00:00
hubertf 89cb93c02e -z actually passes the input file through gunzip(1).
Having an option to really pass it through gzip(1) would be nice...
2004-03-25 20:29:51 +00:00
wiz 59757c426a As in other man pages, use .Dq for strings, and .Sq for single characters.
Add a comma after e.g.. Replace .sp with .Pp.
2004-03-24 11:38:27 +00:00
fair c223370599 Document that tr(1) was written for US-ASCII and may not work as
expected on other character sets which do not share ASCII's properties
(e.g. a symmetric set of capital and lower case characters), per PR 18738

Change all double quotes to nroff macros.
Change "System V" references to the .At macro.
2004-03-24 06:35:53 +00:00
fair c680acdbd9 Document that the flags in the configuration file are parsed
in a case-insensitive manner, per PR 22985
2004-03-24 02:25:15 +00:00
fair 11b2aeb6e2 Fix comment per PR 24437; make(1) tries "makefile" first, and then
"Makefile", not the other way around as previously documented.
2004-03-24 00:59:40 +00:00
snj a726afffcb New sentence, new line. 2004-03-21 18:48:20 +00:00
simonb 221634063e Fix option handling so that you can show information about more than
one thing at a time.
Patch from Chris Demetriou a very long time ago.
2004-03-21 10:02:12 +00:00
heas 209ebbab46 - deal with a dead tty in ttyflush() by cleaning-up and exiting instead of
returning a failure code and processing that all the way up the stack.
- deal with a dead peer similarly and do it without setjmp/longjmp() (at
  christos' request).

These fix bin/20304 and my own observations when the remote abruptly closes
the connection.
2004-03-20 23:26:05 +00:00
heas d5561e39ff remove duplicate description of DEFAULT keyword (introduced by me). 2004-03-20 23:10:01 +00:00
christos 4d4a846694 PR/24862: Peter Postma: From Andrey Matveev via OpenBSD:
1. use socklen_t instead of int
2. compare socket error return value to == -1 instead of <= 0
2004-03-20 17:07:33 +00:00
wiz f05120b375 Add Xref to mscdlabel, bump date. 2004-03-18 21:13:19 +00:00
christos 3506cd1fa5 - KNF
- detect and print more errors
- use strtol() instead of atoi()
- use getprogname()
2004-03-17 17:54:25 +00:00
christos eee22dae1e PR/24796: Colin Percival: CPU-eating loop in lock(1); apply FreeBSD fix. 2004-03-17 17:01:31 +00:00
wiz 2dbbff262f Document -c more accurately. Patch from Aymeric Vincent in response
to PR 24676.
2004-03-17 10:13:10 +00:00
mason 9cc30e773d missed part of identifier on my first pass 2004-03-15 09:13:32 +00:00
mason 387f55ac2e Include year of My Lai massacre, correct spacing in name, and provide slightly
more detail regarding perpetrators.
2004-03-15 09:06:27 +00:00
heas 2a3d05aa4e Do not step over the edge of the buffer (check for '\0'). This just happens
to not lose on i386 because another buffer appears immediately following.
Regress tests all passed.
2004-03-14 21:12:14 +00:00
heas c68b80b9a5 remove double initialisation of SINGL_FLD & SEP_FLAG 2004-03-14 21:09:30 +00:00