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
kleink
0d57b38925
Note roundf() in STANDARDS, too.
2006-01-24 16:39:45 +00:00
christos
96dd93ad18
Expose __readdir and __telldir, unlocked versions of the non-underscore
...
versions.
2006-01-24 14:01:32 +00:00
christos
28463c62e1
PR/32609: Tanaka Akira: seekdir blocks if pthread is linked
...
Do locking consistently to avoid recursive locks (like the bug reported in
this pr), and to avoid leaking locks on errors.
2006-01-24 14:00:57 +00:00
christos
964e09988d
expose unlocked versions of readdir and telldir.
2006-01-24 13:58:58 +00:00
yamt
f988f07e7e
add "show mbuf" command.
2006-01-24 13:03:33 +00:00
yamt
e8a3b3eb83
add ddb "sh mbuf" command.
2006-01-24 13:02:57 +00:00
uwe
25196f3ee3
Consistently apply ifdef logic so that in SH3-only or SH4-only kernel
...
all references to CPU cpecific functions are direct, and unused hooks
are not defined.
2006-01-24 00:01:22 +00:00
uwe
aec45d5629
Pacify -Wuninitialized for SH3 && SH4 case.
2006-01-23 23:25:45 +00:00
uwe
6b850c4367
Delclare __sh_PTEH for SH3 && SH4 case.
2006-01-23 23:17:49 +00:00
uwe
8cfe9e15ba
Pacify -Wuninitialized for SH3 && SH4 case.
2006-01-23 23:07:19 +00:00
yamt
9178119484
ip6_input: don't embed scope id before running packet filters.
2006-01-23 23:01:40 +00:00
uwe
406de23722
Don't waste rts delay slots in sh3_switch_resume and savectx.
...
longjmp needs to arrange for a call to setjmp to return 1.
2006-01-23 22:52:09 +00:00