Commit Graph

186805 Commits

Author SHA1 Message Date
dsl
99db72360c Remove some sign compare warnings. 2010-01-02 16:08:20 +00:00
mlelstv
d5c1a554d8 Move initialization of pool_allocator_lock before its first use.
This failed on archs where a mutex isn't initialized to a zero
value.

Defer allocation of pool log to the logging action, if allocation
fails, it will be retried the next time something is logged.

Clear pool log on allocation so that ddb doesn't crash when showing
so far unused log entries.
2010-01-02 15:20:39 +00:00
tsutsui
9d6449710b Update default TOD value to 2010/01/01 12:00:00. 2010-01-02 10:57:35 +00:00
tsutsui
47ef4e54e9 Include "nbtool_config.h" for src/tools/zic/ and
remove bogus -DNOID to disable __RCSID().

XXX: should we also remove #ifndef lint from scheck.c and zic.c?
2010-01-02 10:42:49 +00:00
he
aca24a5f7f Remove a shadowed and unused local declaration so that this builds again. 2010-01-02 07:53:29 +00:00
tsutsui
ec5b1733ef No need to install /usr/share/zoneinfo into miniroot
because libc functions in libhack doesn't require it and
zoneinfo files seem to get larger since tzcode2009k import.
(due to 64bit time_t support?)

Briefly tested sysinst on sparc miniroot.
2010-01-02 06:46:09 +00:00
tsutsui
48a350b252 Remove LIBS -lz which is already in distrib/miniroot/list. 2010-01-02 06:39:00 +00:00
tsutsui
2087c24e30 Remove -ledit and -lmagic from LIBS.
No program requires -ledit in crunched SMALLPROG case, and
miniroot doesn't have /usr/bin/file which requires -lmagic.
(sparc had it but it was removed in distrib/sparc/miniroot/list rev 1.29)
2010-01-02 06:37:28 +00:00
tsutsui
7a44913b3f Fix botches in mechanical changes to make this compile:
dbri.c:165: warning: 'dbri_sus' declared 'static' but never defined
dbri.c: In function 'dbri_resume':
dbri.c:2188: error: 'sc' undeclared
dbri.c:2189: error: break statement not within loop or switch
2010-01-02 04:12:07 +00:00
christos
0fbbcee76f make rhis compile. 2010-01-02 02:37:08 +00:00
christos
641f5484f1 convert to pmf 2010-01-02 01:42:49 +00:00
dholland
5fc5137232 add rcsid 2010-01-01 22:12:19 +00:00
wiz
2afd9d4a18 Bump date for cd -P support. 2010-01-01 21:46:31 +00:00
wiz
31ac57e452 Fix previous: Dd argument and lost Em markup. 2010-01-01 21:44:07 +00:00
mbalmer
acf41ffe98 fold long lines. 2010-01-01 21:26:18 +00:00
dholland
c281fbb701 POSIX says realpath(NULL, foo) is supposed to yield EINVAL rather than
being allowed to crash. Go figure. Closes PR lib/42559 from Stathis Kamperis.
2010-01-01 19:59:21 +00:00
dholland
a5ced5a04b fix another typo 2010-01-01 19:51:19 +00:00
dholland
cd0a6973f8 Make the cd builtin accept and ignore -P, which is a kshism that has been
allowed to leak into POSIX and selects the behavior cd already implements.
Closes PR bin/42557 and also relevant to PR pkg/42168.

I suppose this should probably be pulled up to both -4 and -5...
2010-01-01 19:34:59 +00:00
dholland
87e87a1f8c fix typo 2010-01-01 18:09:16 +00:00
pgoyette
390d022573 Don't set sensor state to SWARNOVER here. Doing so based only on the
device's active cooling levels prevents the user from overriding these
limits with his own values.

XXX We should probably also change setting SCRITOVER state to SCRITICAL,
XXX but right now that just confuses things.  We currently don't have a
XXX way for a sensor to be both SCRITICAL and SCRITOVER.
2010-01-01 15:55:30 +00:00
pgoyette
7317e028e7 Explicitly inform envsys that the driver is capable of doing its own
limit checking at initialization time.  Later on, if user specifics any
unsupported limits, the driver will relinquish this task.
2010-01-01 15:43:49 +00:00
pgoyette
801c007d68 Don't infer a sensor driver's ability to handle limit checking itself. 2010-01-01 15:41:25 +00:00
wiz
4f6260c6a1 New sentence, new line. 2010-01-01 11:45:34 +00:00
mrg
1da37d69d1 remove wrong if 0ed code 2010-01-01 08:00:02 +00:00
dholland
da0f6356ae Adjust SYNOPSIS for cfscores to better match reality. Note in BUGS
that the score file isn't portable. Bump date (first time since 1993,
and first in 2010...)
2010-01-01 07:35:09 +00:00
dholland
381a1804f4 Split struct betinfo into its own header file so it can be shared
between canfield and cfscores, instead of copy-pasted.
2010-01-01 06:37:15 +00:00
dholland
97ebabce84 Use NULL instead of 0 for pointer tests. Remove an unnecessary cast. 2010-01-01 06:31:18 +00:00
dholland
93abe19853 Send error messages to stderr. Use errx/warnx, not printf. 2010-01-01 06:20:45 +00:00
dholland
07673b8c8a Correct usage message. 2010-01-01 06:16:36 +00:00
matt
e34524fa00 Don't allow a symbol + offset in a merge section to translated to a
.section + offset reference if offset is negative.
2010-01-01 06:12:55 +00:00
dholland
a4ce70f1ad typo in comment 2010-01-01 03:22:13 +00:00
christos
84779d00a4 If the open fails, don't call fstat, because this changes the errno to EINVAL
from eg. ENOENT.
2010-01-01 03:18:27 +00:00
uebayasi
5d65495c8f Sprinkle assertions after calling pmap_get_l2_bucket(). 2010-01-01 02:32:28 +00:00
dholland
f74d700f40 Fix math notation, from PR 41547. While here, fix some potential tab
damage in the same fortune.
2010-01-01 00:16:54 +00:00
jnemeth
590b8b7018 Welcome to 2010.
Don't forget to update copyright notices when you add new code.
2009-12-31 23:59:02 +00:00
mlelstv
d833c9628b mention tzcode update 2009-12-31 22:54:40 +00:00
mlelstv
86162a51cc Import tzcode2009k.
- now understands 64bit time_t and 64bit data in timezone files.
- localtime(), gmtime(), asctime() and ctime() may now fail with
  a NULL result if time_t cannot be represented by struct tm.
2009-12-31 22:49:15 +00:00
wiz
e68a42515b Bump date for gid_range. 2009-12-31 20:14:19 +00:00
christos
44768c61d0 put nuidhash_max in a file that is shared between server and client code. 2009-12-31 20:01:33 +00:00
mlelstv
6ee63fe8b0 Add new keyword gid_range to usermgmt.conf which specifies a default
GID range for groupadd(8).
2009-12-31 19:59:31 +00:00
christos
3506b644ed handle the nuidhash_max lossage differently 2009-12-31 19:38:16 +00:00
christos
41b6684af0 appease gcc. 2009-12-31 19:31:31 +00:00
christos
30da2a8fa7 nuidhash_max is needed by sys_nfssvc 2009-12-31 19:30:45 +00:00
uebayasi
950df2c49d Use pmap_is_current() where appropriate. No functional changes. 2009-12-31 18:34:56 +00:00
christos
4168f34493 expose the encode and decode string functions for the benefit of history
and readline.
2009-12-31 18:32:37 +00:00
christos
8cfe483422 Fix compilation issue with time_t 2009-12-31 16:04:32 +00:00
uebayasi
fd4a9e70d7 pmap_page_remove(): remove an unused local variable; no functional changes. 2009-12-31 16:00:53 +00:00
christos
dc8498bec8 - Document and enable wide character support.
- Fix read function compatibility.
2009-12-31 15:58:26 +00:00
tsutsui
58544b9012 Don't use DEV_BSIZE for LABELSECTOR.
We have never supported 256byte/sector media, and
current definition won't work on >512byte/sector media.
2009-12-31 15:42:46 +00:00
freza
8d5aeaedb5 Remove unused variable, makes VIRTEX_* kernels compile again. 2009-12-31 13:10:46 +00:00