Commit Graph

8964 Commits

Author SHA1 Message Date
dsl 0eca4248ac Fix requests for msg input with a NULL target buffer (or zero length one)
to core dumps from sysinsts mbr code (and others) that use message boxes
for 'press enter to continue' actions.
Fixes PR/34206
2006-09-06 19:24:15 +00:00
dsl 895acb9f43 Rename 'max_chars' to 'val_buf_len' to make it clearer that it has to include
the trailing NUL.
2006-09-06 19:13:51 +00:00
hira fadb259b4d Fix uninitialized variables. 2006-09-05 12:11:27 +00:00
rpaulo 2fb2ae3251 Import of TCP ECN algorithm for congestion control.
Both available for IPv4 and IPv6.
Basic implementation test results are available at
http://netbsd-soc.sourceforge.net/projects/ecn/testresults.html.

Work sponsored by the Google Summer of Code project 2006.
Special thanks to Kentaro Kurahone, Allen Briggs and Matt Thomas for their
help, comments and support during the project.
2006-09-05 00:29:35 +00:00
dsl 75469d03e1 Separate out the CRC functions in a manner that actually makes them useful
for other program binaries.
Fixes build of 'config' where I added code (commented out) to use the CRC
function - but didn't comment out the #include :-(
2006-09-04 20:01:10 +00:00
christos f11da4b014 make this compile again. 2006-09-04 18:42:14 +00:00
wiz 2ba7db1893 Fix typo. 2006-09-04 18:32:54 +00:00
cube 1e2d115e84 Bump version after last feature addition (default value for defparam). 2006-09-04 07:32:50 +00:00
dsl 6467d53e48 Add support for specifying a default value on a 'defparam' line.
If a default is specified then the option is always defined in the
corresponding .h file.
Particularly useful for parameters where the default action isn't the
same a defining the value zero, given that the current use of #if defined(opt)
is open to problems wehere the relevant .h file isn't actually included, so
requiring an option to always have a value makes sense.
Also included (but commented out) is code that adds a global symbol to
the object file to stop objects compiled with different values for the
same option being linked together - I'm not quite happy with it yet!
2006-09-04 06:45:14 +00:00
dsl 17ff309c84 There isn't really any point in the 'union' for nv_str and nv_ptr, all it
does is cause confusion when I try to add default values for defparam.
Also if malloc()/free() aren't efficient enough for us, we ought to fix
them rather than having local free list - so kill the local free lists.
2006-09-03 07:45:40 +00:00
wiz 127e5ecbd6 Bump date for previous. 2006-09-02 23:27:45 +00:00
he 0b5587a884 Provide a dummy default for NBPG after including <sys/param.h> to deal
with a build problem for sparc.  The reason is that <dev/tc/sticio.h>
(yes, irrelevant for sparc...) wants NBPG declared, but for sparc user-land
that symbol is not available since sun4/sun4c/sun4m do not all share the
same page size.
2006-08-31 22:41:14 +00:00
he 276f9c838b Add one more conflicting ioctl set: CLOCKCTL_ADJTIME / TCTRL_MODEM_PWR,
(partially) fixes build problem for sparc.
2006-08-31 22:25:34 +00:00
he 29c0c094cc Add linking against -lutil to pick up estrdup(). Fixes evbsh5 build. 2006-08-31 07:18:39 +00:00
he 061f5e8762 Add handling of two more pairs of duplicate ioctl values: amiga's
and x68k's PARIOC[SG]PARAM reuse the ioctl values from sbus/mbppio.h's
MBPPIOC[SG]PARAM.

Suggested by Christos.
2006-08-30 23:26:25 +00:00
he d425dd3b69 Remove unused local variable. 2006-08-30 15:03:56 +00:00
cube 08ba9c9303 Bump version after deffs change. 2006-08-30 13:48:11 +00:00
matt 4a82747a8f Allow deffs to take dependencies like defflag and defopt 2006-08-30 10:12:25 +00:00
christos 505c9ab4bf protect libutil with hostprog 2006-08-29 17:00:28 +00:00
christos 55ee861f25 protect libutil with HOSTPROG 2006-08-29 16:54:03 +00:00
christos 659537b3d6 Fix sparc64 build; thanks to Martin S. Weber 2006-08-29 14:53:57 +00:00
christos 4623faa261 We only need libutil in native mode. 2006-08-29 12:50:49 +00:00
christos e07b7e508b build complete initializations. 2006-08-28 01:45:41 +00:00
christos 4de29ae80e Include <sys/device.h> needed by iopio.h 2006-08-27 21:41:18 +00:00
christos 5699156510 pick up ioctls from other devices too. 2006-08-27 20:31:26 +00:00
simonb b4120542a5 Remove some unnecessary casts. 2006-08-27 06:58:55 +00:00
christos 03eff0d591 Fix non-native build. 2006-08-26 22:19:03 +00:00
christos 623c0a861f Don't include <util.h> if we are not NetBSD. Other OS's don't have it. 2006-08-26 22:13:00 +00:00
christos cdab3a7a06 More programs using efun. 2006-08-26 18:17:41 +00:00
christos d0fb89015b Now that this is part of tools, we don't need the extra build glue. 2006-08-26 18:17:13 +00:00
matt a5db205458 Conditionalize XNS support. No longer enabled. 2006-08-26 15:33:20 +00:00
matt 9e051a8002 Add enough configury glue so that src/tools can build a N64 mips toolchain. 2006-08-25 23:35:04 +00:00
elad 0b20a6d87c mention we support sha2, pointed out by dieter roelants
okay hubertf
2006-08-25 10:40:25 +00:00
wiz 3c488ef896 It is sendmail(1), not sendmail(8). Prepare for HTML output.
Remove trailing space.
2006-08-23 21:02:29 +00:00
wiz e4113c2f20 Bump date for previous. 2006-08-23 20:39:01 +00:00
christos c10a5d302a well, the || needed to be an && and the operand order needed to be changed.
XXX: There are still things like interface printing that need kvm.
2006-08-22 20:06:17 +00:00
christos 0bdbda4753 mention that following the recipient(s) one can supply sendmail flags.
from our anonymous admirer.
2006-08-22 17:13:12 +00:00
christos ed6a70d32a Fix another && || confusion, from Kurt Schreiner, thanks! 2006-08-21 18:31:24 +00:00
plunky a643df2f21 Remove reference to btcontrol(8) and clarify mixer(4) 2006-08-19 16:37:26 +00:00
christos a49f247028 Don't use || if you need &&. 2006-08-17 22:23:07 +00:00
plunky a097328fe5 Add service discovery support for the Handsfree profile 2006-08-17 20:13:31 +00:00
rpaulo 4381b9dc9b Revert previous. 2006-08-17 01:42:57 +00:00
rpaulo d7a463a8aa Adapt to ECN. 2006-08-17 01:32:13 +00:00
christos d43ad774cc Add Auto-Submitted: header per RFC 3834, from OpenBSD 2006-08-15 16:21:59 +00:00
kardel 0da8c70aed PR 34205: workaround struct timeval tv_sec not being SUS compliant issue (reported by Takeshi Nakayama) 2006-08-15 07:09:12 +00:00
jnemeth c6c7f4a492 PR/34182 from der Mouse -- clarify -0 option 2006-08-11 23:01:46 +00:00
christos 67a75c5772 If a word is "" eat the last quote since we ate the first. 2006-08-11 19:11:00 +00:00
drochner fe5f2a85b5 Make sure that only specisications for _interface_ attributes are
emitted, the rest is useless at runtime.
saves some bloat in ioconf.c
2006-08-09 18:03:23 +00:00
cube 71af9028c9 Check that the device is not a pseudo-device in deldev(), too (as in
deldevi()).

PR#34111 by jmmv@.
2006-08-07 12:03:32 +00:00
jnemeth f514ab0275 don't highlight the single dash 2006-07-31 09:39:59 +00:00