Commit Graph

178743 Commits

Author SHA1 Message Date
joerg 84dab34b72 Fix markup. 2009-03-15 09:47:13 +00:00
joerg c2d267f257 Remove redundant markup as .Bl does vertical spacing already. 2009-03-15 09:31:07 +00:00
joerg fd0a2075ae Fix markup. 2009-03-15 09:26:07 +00:00
tsutsui 28b5d3e561 - create symlinks for MD system headers by <bsd.klinks.mk>
- suppress warnings on build without DESTDIR
2009-03-15 08:52:46 +00:00
joerg 854ee47087 Declare all columns. 2009-03-15 08:05:22 +00:00
joerg af1b54d7d6 Fix markup of cross reference. 2009-03-15 08:04:12 +00:00
joerg 6edb9354b8 ".The" is not a valid macro, fix up. 2009-03-15 08:02:02 +00:00
lukem 0053962f9d Fix WARNS=4 issues (const & sign mismatches, etc)
Ensure various ftpd.conf values can't exceed their underlying types.
2009-03-15 07:48:36 +00:00
tsutsui 7b7719bb1f - use <bsd.klinks.mk> to create symlinks to MD system header directories
- suppress warnings on build without DESTDIR
2009-03-15 06:17:02 +00:00
tsutsui 2ba9ae83e1 Use <bsd.klinks.mk> to create symlinks to MD system header directories. 2009-03-15 06:04:02 +00:00
tsutsui 7f79f861d8 Include <bsd.own.mk> for ${NETBSDSRCDIR}, ${MACHINE}, ${MACHINE_CPU} and
${MACHINE_ARCH} variables.
2009-03-15 05:57:54 +00:00
tsutsui 628341218b Create symlinks in !make(obj) && !make(clean) && !make(cleandir) case
as most Makefiles for standalone programs do.
2009-03-15 05:48:02 +00:00
tsutsui 216a370b45 Make sure to create i386 symlink on more generic targets. 2009-03-15 05:45:32 +00:00
jnemeth fbf3f5b411 grammar fix 2009-03-15 05:44:57 +00:00
dholland 87d1d157b3 Rework curses handling.
The most visible change is that the scrolling buffer of messages now
actually scrolls and keeps history, and you type on the bottom line only.
For now you can page through the history with ^P/^N; that's not ideal but
one can't fix everything all at once.

Use resizeable array code (roughly the same that I floated a while ago
in connection with make) to hold the scroll.
2009-03-15 03:33:56 +00:00
nonaka 34b391d563 avoid assertion. 2009-03-15 02:23:52 +00:00
dholland 5368eaecca Move newturn() from pl_7 to pl_2.
pl_7 was mostly curses/display stuff, is going to be all display stuff.
pl_2 is where the main loop lives.
2009-03-15 00:50:47 +00:00
dholland 842019525c Move all curses bits to pl_7.c. 2009-03-15 00:35:42 +00:00
dholland 81060ec63a Fix usage message 2009-03-14 23:51:35 +00:00
dholland cb17dc26ee chdir to /var/games/sail while running, to simplify name handling. 2009-03-14 23:47:18 +00:00
dholland 86056f1213 Don't crosswire the two kinds of path names, and don't croak on
scenario numbers > 99.
2009-03-14 23:12:20 +00:00
dholland 0c94ee2110 Turns out the W_FILE message wasn't ever used. 2009-03-14 22:54:05 +00:00
dholland e544d2b874 Create some abstraction for sending messages.
Make a send and receive function for each possible message.
Make these have useful argument signatures.
Hide the list of message codes inside sync.c.
2009-03-14 22:52:52 +00:00
dsl 82357f6d42 ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +00:00
apb 5eec0d1cf3 Fix typo and stray line in previous. 2009-03-14 20:47:08 +00:00
apb 1cc26678f7 Minimal documentation for disk-related ioctls; mostly derived from
comments in sys/dkio.h
2009-03-14 20:39:05 +00:00
christos 7fd1fc871c fix robust_list pointer mess! 2009-03-14 20:18:27 +00:00
dholland 32aeef110b Don't use perror() 2009-03-14 20:14:56 +00:00
dholland 2a767ad336 constify the version string 2009-03-14 20:10:43 +00:00
dholland 49bf5e73fa Sprinkle some "bool". And don't use '\0' to mean 'false'. 2009-03-14 20:04:43 +00:00
dholland ac571eb080 Use \a instead of \7 for BEL. 2009-03-14 19:57:14 +00:00
dholland 4c26b16462 Prune a comment referring to objects that (AFAICT) didn't even exist in -r1.1. 2009-03-14 19:55:16 +00:00
dholland 3b67879708 Don't cast the return value of calloc(). 2009-03-14 19:36:42 +00:00
dholland b8c43a1f9c Lines <= 80 chars, remove trailing whitespace, other formatting adjustments.
No functional change.
2009-03-14 19:35:13 +00:00
christos 7ce7d470cd Negative lengths should not be allowed. Make it unsigned. 2009-03-14 19:03:41 +00:00
dholland 9a83480957 Remove some unnecessary casts. 2009-03-14 18:41:21 +00:00
dholland 25e9926383 String buffer cleanup. sprintf bad. 2009-03-14 18:32:47 +00:00
apb 2a86bfea6b Add FSYNC_CACHE flag to the VOP_FSYNC() call for the DIOCCACHESYNC ioctl.
PR 41015.
2009-03-14 18:00:37 +00:00
apb caccc8126b Pass DIOCCACHESYNC ioctl down to the underlying disk.
Addresses PR 41016.
2009-03-14 17:56:47 +00:00
dholland 1bb89ee28f Don't use char for random state variables; use int or bool. 2009-03-14 17:10:01 +00:00
christos 19b058b35e PR/41015: Alan Barrett: vnd driver does not implement DIOCCACHESYNC 2009-03-14 16:33:25 +00:00
dsl 454af1c0e8 Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
dsl 02cdf4d2c8 Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
2009-03-14 14:45:51 +00:00
lukem dfbb3f921a apply some __UNCONST(). 2009-03-14 13:59:28 +00:00
jmcneill 8cf7d77c2c Don't assume ACPI == x86, from kiyohara@kk.iij4u.or.jp 2009-03-14 13:56:41 +00:00
jmcneill 3e9233f0fe Add acpi_md_OsEnableInterrupt, to go with acpi_md_OsDisableInterrupt 2009-03-14 13:54:28 +00:00
jmcneill 37c6542e1a Fix build on ia64, from kiyohara@kk.iij4u.or.jp 2009-03-14 13:51:23 +00:00
lukem 434441debd fix sign-compare issue 2009-03-14 11:43:24 +00:00
ad 0fa70e9b6f 'boot -z' bogons 2009-03-14 11:08:28 +00:00
jmcneill b33d444d81 PR# kern/41008: possible simple mistake of field check in video(9)
video_set_format() requires hw->set_format to be set, not get_format,
from fukumoto@imasy.or.jp
2009-03-14 00:33:25 +00:00