Commit Graph

109999 Commits

Author SHA1 Message Date
nathanw 16612d0814 * Use a <= comparison rather than a < comparison when searching for
alarms to process.

* Remove a redundant assignment.

* Make a debug message more consistent with the others.
2003-03-11 00:18:36 +00:00
lukem 5c40b88236 a minor heads-up. (if i got bit by this, someone else might) 2003-03-10 23:42:45 +00:00
lukem d3e7b00142 Fix typo in mkpath()'s test before chmod().
Noted in [bin/20652] by Anthony Mallet.
2003-03-10 23:33:10 +00:00
wiz ea51c6a6f1 x68k, not x86k. PR 20650 by Josh Glover. 2003-03-10 22:47:44 +00:00
nathanw 37c11910ec Re-enable nanosleep(); kernel bug is squished (kern_time.c:1.67). 2003-03-10 22:16:36 +00:00
nathanw 11aebbf730 Change the contract for timer_settime() (the internal routine, not the
syscall sys_timer_settime()) to take an absolute value for realtime
timers. This avoids a pair of gratiuitous conversions with the
possibility that the timer's intermediate value would be 0.0, which
would signal timer_settime() to cancel the timer.

Adjust callers of timer_settime() to compensate; catch the case where
sys_timer_settime() with an absolute time value of now and a virtual
timer would also be subtracted down to a timer-cancelling 0.0.

This should fix the bug seen in libpthread's nanosleep() where certain
applications, such as xmms, would wedge with unexpired userlevel
alarms.
2003-03-10 21:49:56 +00:00
christos 80a839beda don't use the path for awk 2003-03-10 21:21:10 +00:00
tshiozak 4f31053655 rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD. 2003-03-10 21:18:50 +00:00
christos 687b5d51e3 s/u_int32_t/unsigned int/ 2003-03-10 21:18:49 +00:00
tshiozak 8328c33b65 rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD. 2003-03-10 21:18:48 +00:00
thorpej 5d036d28d6 Fix an error message. 2003-03-10 20:50:22 +00:00
tshiozak 75e29ba505 some changes around mklocale:
- clean up cpp directives.
- stop including rune.h from mklocale.
- stop using _BSD_RUNE_T macro.  instead, use int32_t directly in runetype.h.
- move _DEFAULT_INVALID_RUNE to runetype.h.
These were for historical reason on porting rune from FreeBSD,
but it seems that these are no longer reasonable but troublesome
under the current NetBSD build system.
additionally:
- runetype.h -> locale/runetype.h in mklocale, because this might conflict
  to FreeBSD's one.
2003-03-10 20:41:29 +00:00
thorpej 2d5e311009 Make PGALLOC_VERBOSE compile where size_t != int. 2003-03-10 19:52:24 +00:00
lukem b307261961 clarify that lkm needs /usr 2003-03-10 18:21:00 +00:00
lukem f70738da04 move altqd slightly later in the boot sequence; as it's in /usr/sbin,
it needs to depend upon mountcritremote, not run before NETWORKING ...
2003-03-10 18:17:06 +00:00
lukem c61fa8df18 If building as a CRUNCHEDPROG, use "lex -L" and "yacc -l" to suppress #line
generation.  This may solve [bin/20637].
2003-03-10 17:58:21 +00:00
david ada315648a Note that the /etc/apm/* scripts must be executable. 2003-03-10 16:14:37 +00:00
thorpej 2a493af5b0 For PMAP_CACHE_VIVT platforms, make UBC_RELEASE_UNMAP evaluate to TRUE,
and add a comment explaining why.

Reviewed by Chuq Silvers.
2003-03-10 15:07:17 +00:00
christos 5e7eaf37bd mention amd. 2003-03-10 13:18:07 +00:00
christos 30bcc35364 Update amd. 2003-03-10 13:16:26 +00:00
dsl 25456aecdb Put the __weak_extern() back inside vi_alias, but after the extern for
get_alias_text().
2003-03-10 11:09:25 +00:00
lukem e5f384735d support 1234 and 4321 as valid byte-order arguments for -B 2003-03-10 10:02:58 +00:00
he d5428a2906 Move the __weak_extern() (ifdef'ed) outside of the vi_alias()
function, so that this compiles again.
2003-03-10 09:55:10 +00:00
tshiozak 947243ba1e revoke using PRIu32 macro and add fallback for UINT32_C macro,
because these do not exist on rather older systems.
XXX: I wonder someone will add them to tools/compat.
2003-03-10 09:37:04 +00:00
wiz 84cb70148f Correct program name in comments. 2003-03-10 09:23:50 +00:00
wiz d686d8626e Sort sections; "file system" instead of filesystem; mdoc improvements;
new sentenence, new line.
2003-03-10 09:23:23 +00:00
wiz 237046f68b + dpt, nsmb, kttcp, dmoverio, veriexec, twe (hi martin!) 2003-03-10 08:17:02 +00:00
lukem 8bfad4ad7a Use sleep(1) instead of usleep(1000000) to sleep for a second, since
usleep() doesn't support an argument >= 1000000.
Problem noted & fix provided in [bin/20644] from Dave Huang.
2003-03-10 08:04:15 +00:00
lukem 5b4f7a290b add usr/include/sys/tree.h 2003-03-10 08:01:11 +00:00
lukem 6f7e79fef4 install sys/tree.h
organise INCS= lines to make it easier to add includes in the future
2003-03-10 07:55:14 +00:00
lukem 857064c7bf fix build.sh usage 2003-03-10 06:46:59 +00:00
lukem 6cbbfe4c9f There's no need anymore to protect __COPYRIGHT() and __RCSID() with:
#ifndef __lint
	...
	#endif
2003-03-10 03:50:38 +00:00
perseant 8757a68b2e Be a little more verbose in stating that LFS uses UBC natively, at the
suggestion of Hubert Feyrer.
2003-03-10 01:35:11 +00:00
christos 1d6595e599 null is not 0 2003-03-10 01:14:54 +00:00
christos 2ffae6453d if no __weak_extern, don't even try to do vi_alias. 2003-03-10 01:14:07 +00:00
christos 61c24e2c2a fix uninitialized variable.
grr, I want gcc-3.3
2003-03-10 01:05:12 +00:00
christos 5f1f221c24 sig_t is non portable 2003-03-10 00:58:05 +00:00
christos 23dbd749a2 - include cdefs.h early in the game
- ifdef notdef the sunos stuff
- no need for sig_t
2003-03-10 00:57:38 +00:00
christos bdc91aaf9a include alloca.h for systems that need it. 2003-03-10 00:56:38 +00:00
christos c804fc2f30 be specific about what we are matching against. 2003-03-10 00:03:21 +00:00
christos 537fd1d1b4 fix merge botch 2003-03-10 00:02:40 +00:00
christos 049833df37 our ufs name is ffs 2003-03-10 00:01:52 +00:00
jdolecek 02d0c9ceb3 add TNF copyright (1996-2003) 2003-03-09 23:29:52 +00:00
fvdl af4ceb3bdf Add missing include file 2003-03-09 22:42:25 +00:00
augustss bf2de652b1 Change debug message. 2003-03-09 19:51:13 +00:00
manu 523dbf2146 Quick and dirty version of io_registry_entry_get_properties. 2003-03-09 18:33:28 +00:00
manu 572d271ee8 Fix to uvm_map documentation, approved bu Chuck Silvers:
uvm_map size parameter is not in PAGE_SIZE units, it is a multiple of PAGE_SIZE.
2003-03-09 18:28:59 +00:00
wiz 97808774c1 Restore RCS Id, lost during last update. 2003-03-09 17:57:50 +00:00
tsutsui f86b0e1741 In tlb_exception(), don't panic immediately on access at va == 0
from kernel mode if fault hander is set.
2003-03-09 16:14:29 +00:00
he 1565f9401d Remove remnants of support for console on ite, since the ite device
driver is no more.
2003-03-09 13:59:56 +00:00