joerg
932c7ae27a
Kill pre-4.4BSD compat code.
2008-02-24 20:42:46 +00:00
rafal
ba7873b58d
Add TRIPPLITE2 UPS into the list of devices ignored by uhid(4) -- the UPS
...
software apparently wants to drive it as a ugen(4) instead.
2008-02-24 20:25:13 +00:00
rafal
570306d6b7
Regen for addition of TRIPPLITE2 UPS.
2008-02-24 20:23:38 +00:00
rafal
c99a7eb6d3
Add another vendor ID for Tripp Lite and product entry for their USB UPS
...
interface (it appears to be a generic product ID, rather than per-model).
2008-02-24 20:22:06 +00:00
dholland
988d859140
This file requires errno.h
2008-02-24 20:11:59 +00:00
dholland
68911b1cc8
This file requires errno.h
2008-02-24 19:31:30 +00:00
dholland
cb572b466d
This file requires errno.h
2008-02-24 19:17:57 +00:00
christos
dd771215eb
PR/38094: Robert Millan: support "BIOS Boot" partition type in gpt(8)
2008-02-24 18:38:10 +00:00
dsl
5546b33571
Set p->p_trace_enabled in fork and whenever the controlling falgs change
...
instead of doing it in syscall_intern().
Note that syscall_intern() must still be called when the flags change
since many ports use a different copy of the syscall entry code when
tracing is enabled.
2008-02-24 18:30:07 +00:00
xtraeme
56d9394d91
regen
2008-02-24 16:02:01 +00:00
xtraeme
f0667e8c53
+ Dell PERC 6.
2008-02-24 16:01:46 +00:00
martin
777a451a3d
Remove old posix_fadvise compat code
2008-02-24 15:02:15 +00:00
chris
cf20f24b7b
Micro-optimizations for arm.
...
Make enable and disable interrupts one instruction shorter.
Make cpu_cpwait() do nothing on anything other than an xscale, where it
will still call via the cpufuncs table.
This avoids loading a function from cpufuncs and then branching into it. On
older hardware the function does nothing, so this is just a waste of CPU
cycles.
2008-02-24 14:00:04 +00:00
matt
ba7104fdd4
Model this syscall.c on the i386 syscall.c. Don't have separate
...
syscall_fancy and syscall_plain. Use p->p_trace_enabled.
2008-02-24 12:57:39 +00:00
martin
c84d2ae11b
Remove compat code for posix_fadvise
2008-02-24 12:54:15 +00:00
martin
93cbe0f210
Regen (old posix_fadvise ignored)
2008-02-24 12:53:47 +00:00
martin
a8ed8bb731
Desupport compatibility for the old posix_fadvise syscall per yamt's
...
request and just ignore it.
2008-02-24 12:52:54 +00:00
martin
a032b8dad3
Add a new syscall type IGNORED which just calls nullop (always succeeds
...
and does nothing).
2008-02-24 12:51:42 +00:00
matt
57db79967d
Never ever trust the user. Fix bug introduced in version 1.8 of trap.c
...
by ragge nearly 13 years ago.
2008-02-24 08:38:39 +00:00
dholland
a2e3e41dc6
Don't crash if we're asked to restore from /dev/null. (woops)
2008-02-24 06:12:49 +00:00
dholland
5ec0096cd0
Fix a bit more lint.
2008-02-24 06:07:06 +00:00
dholland
c0cbd1abb5
Fix some more lint. (There's plenty to go around.)
...
If we try to load a game and it bombs, keep prompting for another one,
because if we try to continue with a half-loaded game we'll probably
end up in trouble.
2008-02-24 06:03:35 +00:00
dholland
a537df81a5
Don't cast the return value of calloc.
2008-02-24 05:53:33 +00:00
isaki
d540dc1cd1
Minor style fix.
2008-02-24 05:34:01 +00:00
isaki
c74b21d863
G/C unused variables and macros.
2008-02-24 05:32:09 +00:00
isaki
7c60b08fd1
slhci also shares usbroothub_subr.
2008-02-24 05:29:31 +00:00
dholland
8392979dd5
Dividing by a time_t makes the result time_t, so it should be cast to long
...
when being printf'd as a long.
2008-02-24 05:20:17 +00:00
dholland
fe5990acd7
Print time_t as long long, not long.
2008-02-24 05:16:46 +00:00
dholland
6dc3dcbc38
Use strtoll rather than strtol to read the -r argument, so it will work
...
for wider time_t. Also mark a timed-related y2038 lossage for whenever
someone figures out the best way to shoot timed.
2008-02-24 04:49:45 +00:00
christos
dc11f84d61
fix some lint
2008-02-24 03:56:48 +00:00
christos
7cafbb8e59
need errno.h
2008-02-24 03:52:09 +00:00
dholland
aab0bc87a0
Update for today's changes: 1-player games are not allowed, and cards.pck
...
no longer appears.
2008-02-24 03:50:07 +00:00
dholland
8015839b21
Fix the OpenBSD housing shortage code.
2008-02-24 03:26:26 +00:00
isaki
ea32b7cc13
options<space><tab>
2008-02-24 03:13:47 +00:00
dholland
15d2107a88
ret_card(), which I moved earlier, was consequently filed under the wrong
...
source file name. fix.
2008-02-24 03:01:13 +00:00
dholland
ad6f43e622
We do not need special code for pdp11. Also, because random() returns all
...
good bits (unlike rand()) we can simplify this.
2008-02-24 02:58:33 +00:00
dholland
c303095d59
Typo patrol
2008-02-24 02:55:20 +00:00
dholland
295acf7fa6
This file is also no longer used.
2008-02-24 02:53:18 +00:00
dholland
d23f8089df
Note that I broke compat for the save files of monop(6).
2008-02-24 02:51:54 +00:00
dholland
e8adaaa5e1
/usr/share/games/cards.pck is toast.
2008-02-24 02:46:40 +00:00
dholland
97464386e1
Abolish the initdeck program and the weird little binary file it generates.
...
The card deck data is now compiled in. (And it always should have been,
even back when memory usage counted. It's small.)
This changes the save format slightly. (I am riding the previous
breakage an hour ago and not providing compat. There should be no
further breakage.)
2008-02-24 02:43:18 +00:00
dholland
b51259daf4
Source files should be named *.c or *.h, not random other things.
...
Fold monop.ext (which was extern data decls) into monop.h and deck.h.
Fold monop.def (which had definitions for the extern data) into monop.c.
Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of
the data) into monop.c.
Rearrange includes accordingly. No functional change.
2008-02-24 01:57:34 +00:00
dholland
a6c98779b0
Remove last traces of old save/load code. We no longer need a private
...
copy of malloc.
2008-02-24 01:41:14 +00:00
dholland
67021c2ac7
Sort out the memory leak fix properly.
2008-02-24 01:37:57 +00:00
dholland
fe527d1ba8
New save/load code. Related to (but not the same as) the new save/load
...
code in OpenBSD.
Note: this breaks compatibility with old save files. However, the old
save files were missing critical information, had a completely insane
format, and didn't work anyway.
I will be riding this breakage with another breakage within a day or
two when I fix the insanity in the card deck handling.
2008-02-24 01:30:56 +00:00
christos
3a24c02f26
cleanup fsck error handling:
...
1. explain what each error means
2. remove 130 (128 + 2) which was presumably there because fsck_msdos did
not handle SIGINT properly
2008-02-24 01:05:35 +00:00
christos
358764c860
Catch signals and exit with the proper error code like all the other fsck
...
programs.
2008-02-24 00:59:03 +00:00
reed
baa9962260
Fix typo.
2008-02-24 00:34:51 +00:00
dsl
e16564a11e
Remove a 9 from the stuttered example in order to match the only
...
possible reality.
2008-02-24 00:05:31 +00:00
dsl
2791dfc743
When converting fp values to integer, use floor(x) so that we get
...
consistent convertions not the 'round to even'.
This means that it is possibly to generate the 'stuttered' sequence
4 4 3 3 2 2 1 1 0 0 -1 -1.
2008-02-24 00:04:00 +00:00