Commit Graph

142878 Commits

Author SHA1 Message Date
christos e7e64b6ab3 PR/32630: Yves-Emmanuel JUTARD: Illegal return in sys/kern/uipc_mbuf2.c.
Gcc likes return (void), but other compilers disagree.
2006-01-25 16:21:39 +00:00
christos b7f3395036 PR/32629: Yves-Emmanuel JUTARD: Type errors in sbin/route/route.c, another
u_char/char conflict.
2006-01-25 16:19:50 +00:00
christos 86b43a935f PR/32628: Yves-Emmanuel JUTARD: Missing cast in sbin/ifconfig/ifconfig.c,
strcasecmp needs char * not u_int8_t *.
2006-01-25 16:08:49 +00:00
kleink 4b8a1c2afc dtoa.c -> gdtoa 2006-01-25 15:50:13 +00:00
kleink 3cd8501c1e Drop in gdtoa as a replacement for dtoa, strtod() from stdlib/strtod.c. 2006-01-25 15:43:01 +00:00
kleink 2c9824c5d7 * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
  done in strtod.c.
* Some const poisoning, more to follow.
2006-01-25 15:36:13 +00:00
kleink 804e6c96a2 Add machine-dependent definitions for gdtoa. 2006-01-25 15:33:28 +00:00
kleink ac898a2630 * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
  done in strtod.c.
* Some const poisoning, more to follow.
2006-01-25 15:27:42 +00:00
tsutsui 3857bde133 Update some stuff. (untested) 2006-01-25 15:22:54 +00:00
kleink 7684d5e0fc Import gdtoa-2005-09-23; test suite will be imported separately. 2006-01-25 15:18:40 +00:00
rpaulo c87dd30f36 Make this compile without INET6. Spotted by Arto Selonen and Kurt
Schreiner.
2006-01-25 15:12:05 +00:00
tsutsui dcb1305685 Add shared libXau and libXdmcp. Pointed out by tron.
XXX: More stuff should be updated.
2006-01-25 15:05:26 +00:00
christos 426a2fdd3b Changing len from int to size_t caused an infinite loop. Noticed by chuq. 2006-01-25 13:46:09 +00:00
is 7f423356f3 Compile new zlib; compile it in a way that it doesn't inflate the bootblock
by 50% with tables. While we're here: use our own memmove().
2006-01-25 13:23:50 +00:00
is c84b52f260 Define memmove(), too. 2006-01-25 13:12:33 +00:00
peter 10f6d07582 apply a fix from OpenBSD:
> revision 1.104
> date: 2006/01/18 22:03:21;  author: dhartmei;  state: Exp;  lines: +2 -2
> fix a bug in the fragment cache (used for 'scrub fragment crop/drop-ovl',
> but not 'fragment reassemble'), which can cause some fragments to get
> inserted into the cache twice, thereby violating an invariant, and panic-
> ing the system subsequently. ok deraadt@
2006-01-25 10:45:20 +00:00
christos 3ac7a40466 fix compilation after changes to telopts. I will revisit this and constify
it later.
2006-01-25 04:20:54 +00:00
kochi 2e24796ccb ACPI-CA 20060113 2006-01-25 01:34:27 +00:00
joerg 32ce5ba905 Add conditional code to ignore the non-numeric part of an OS version
for the sake of compatibility tests in pkg_add.
E.g. DragonFly versions like
	1.4.0-RELEASE
are reduced to
	1.4.0

This code is disabled by default on NetBSD.
2006-01-25 00:17:34 +00:00
uwe 86e8b6d9d0 Wrap sh3 and sh4 parts into respective ifdefs.
Declare local functions static.
ANSI'ify functions without arguments.
2006-01-25 00:02:57 +00:00
uwe 4baa2e17dd EVTCODE_TO_MAP_INDEX - tweak to help gcc produce better code. 2006-01-24 23:51:42 +00:00
reinoud aeaada2a1b Duh! If askes to halt the input dont halt the output instead. This also
fixes the timeout on draining when closing.
2006-01-24 23:29:05 +00:00
uwe 8b5ad019f4 ANSI'ify functions without arguments. Use uintN_t.
Use for (;;) continue; for unreachable infinite loops, as lint is
somehow more happy about them.
2006-01-24 22:32:19 +00:00
bouyer 72d6450048 Revert part of previous: checking the drive's status after a read seems to
cause interrupt timeouts on some hardware.
2006-01-24 21:43:26 +00:00
is 778ad8adea Alas, 5 Megabytes aren't enough any longer. 2006-01-24 20:28:21 +00:00
christos 4478531a98 Add support for more puc chips from Pavel Cahyna.
This might NetMos 9845 card which need the COM_FREQ * 4 hack, but this
can be re-added by a more specific entry (matching subsystem IDs).
2006-01-24 20:10:55 +00:00
is 2cee6da4a1 provide more space for relocs in the secondary bootblock.
Guarantee that relocs and 16 bit pc-relative addressing works.
2006-01-24 20:04:05 +00:00
is 0fb6c8c68b Use our own s(n)printf. 2006-01-24 20:02:03 +00:00
is 2c91ec128b Implement sprintf and snprintf. 2006-01-24 19:56:27 +00:00
christos 6d2fba90fb remove functions that we should not be exposing. 2006-01-24 19:33:35 +00:00
christos b72acd5139 rename __func to _func_unlocked, and add their prototypes in extern.h
instead of exposing them in dirent.h. More locking consistency fixes.
2006-01-24 19:33:10 +00:00
wiz bdd062fb4d Bring over changes I had committed to qsieve.6. 2006-01-24 19:17:19 +00:00
elad ef2fdd1d7f qsieve(6) -> qsieve(1) 2006-01-24 19:16:53 +00:00
elad 481e7be9a6 add qsieve/qsafe entries for new locations. 2006-01-24 19:13:46 +00:00
elad cb990bef57 qsieve/qsafe not here anymore. 2006-01-24 19:06:35 +00:00
elad c53cd0c067 moduli utils moved from games to usr.bin. 2006-01-24 19:01:45 +00:00
elad e31e6187a9 Put qsieve/qsafe in usr.bin. 2006-01-24 18:59:23 +00:00
elad c1ef323e1a Remove qsiefe/qsafe from games. Will be put back in usr.bin. 2006-01-24 18:51:20 +00:00
dsl 6c51ef9cb5 Fix spelling mistake in message 2006-01-24 18:35:18 +00:00
christos 0126713300 don't re-define DEBUG 2006-01-24 17:39:44 +00:00
christos 096020da19 fix debugging memsets. 2006-01-24 17:37:05 +00:00
christos a3ae551d7e simplify assertion. 2006-01-24 17:35:33 +00:00
christos a0f3f04724 fix debugging printf formats. 2006-01-24 17:33:44 +00:00
christos 374485f427 fix compilation with -DDEBUG 2006-01-24 17:30:51 +00:00
christos 90d0f8cfa0 PR/32616: Yves-Emmanuel JUTARD: Fix compilation with -DDEBUG 2006-01-24 17:29:33 +00:00
christos ec567cd38c appease lint and gcc. (compile with -DDEBUG) 2006-01-24 17:24:37 +00:00
christos 83e4df350a Use a separate macro, not DEBUG to enforce 8 bit chars [glob uses internally
16 bit chars]. Fix lint complaint when compiling with 8 bit chars.
2006-01-24 17:24:09 +00:00
christos 4787e0f575 PR/32615: Yves-Emmanuel JUTARD: Add missing telopts extern variable. 2006-01-24 17:13:59 +00:00
christos decae1574c PR/32614: Yves-Emmanuel JUTARD: Typing error in some comment ;-) 2006-01-24 17:08:58 +00:00
christos 8f67218a4b PR/32613: Yves-Emmanuel JUTARD: Incoherencies in file sys/lib/libsa/net.h
- Make prototype of ether_sprintf() match the one in sys/net.
- Rename in_cksum to ip_cksum and fix its prototype. in_cksum() operates
  on an mbuf and ip_cksum() operates on a plain buffer. We should not call
  functions that operate on different arguments the same name (this is not
  c++).
2006-01-24 17:07:19 +00:00