christos
40c48e4f33
prevent empty else.
2006-10-15 19:34:51 +00:00
christos
ebed6f0b8c
add volatile to prevent gcc clobbering.
2006-10-15 19:33:52 +00:00
christos
2979ced6e8
- Instead of wondering if to syslog an error, do so, but in the called
...
function.
- use snprintf instead of sprintf.
2006-10-15 19:33:03 +00:00
christos
56ec5c798d
die on lint errors.
2006-10-15 19:07:38 +00:00
christos
ce2c90c7c1
fix incomplete initializers
2006-10-15 16:14:46 +00:00
christos
a8756e84f2
prevent empty else.
2006-10-15 16:14:08 +00:00
christos
6b9a17545b
comment out dead code.
2006-10-15 16:13:12 +00:00
christos
3b77d4bc25
instead of using the (void)&foo kludge to avoid longjmp clobbering of variables
...
make the variables volatile as needed.
2006-10-15 16:12:02 +00:00
christos
b24124a73d
static before const.
2006-10-15 16:11:04 +00:00
perry
35a6eb4807
Make the declarations of wday_name and mon_name less eccentric. I
...
suppose they were legal before, but lint was unhappy about them. It
was probably unhappy for the wrong reasons, but I think it certainly
wasn't something one would want anyway. Declaring a string of length
three to have storage of length three without room for the nul is
asking for trouble even if it does work in context, and there was no
reason not to state how many days there are in a week or months in a
year -- they aren't onerous and aren't going to change.
NOTE: If this code isn't being synced with the central TZCODE stuff,
it probably should be KNFed etc. It is full of K&R declarations,
register, lots of eccentricities, etc.
2006-10-15 15:32:42 +00:00
martin
a5cb9c8ff7
PR lib/34801 from David A. Holland: "static" comes first in declaration.
2006-10-15 10:55:01 +00:00
uebayasi
008312679d
A missing period.
...
Reviewed By: wiz
2006-10-15 01:53:41 +00:00
christos
48314d6d96
memset the whole struct addrinfo, instead of trying to figure out if we
...
have a pad member or not.
2006-10-14 21:45:29 +00:00
christos
e7acb44bcf
Allow escaping of the separators using a double backslash
2006-10-14 18:53:11 +00:00
wiz
353e917272
New sentence, new line.
2006-10-14 07:52:15 +00:00
wiz
f80b348714
Consistency: NULL pointer, but nul character.
2006-10-14 07:51:01 +00:00
wiz
641d5b8a5c
nul, not null (for the character).
2006-10-14 07:44:58 +00:00
wiz
22b0689a70
Bump date for previous.
2006-10-13 21:12:51 +00:00
wiz
1339a7549f
Make HTML-output safe.
2006-10-13 20:58:50 +00:00
wiz
af34f948f1
Fix date string.
2006-10-13 20:57:32 +00:00
wiz
a199de4e6f
Sort SEE ALSO.
2006-10-13 20:56:54 +00:00
wiz
f90c2de688
Sort SEE ALSO.
2006-10-13 20:53:21 +00:00
wiz
255a629420
No Xr to ourselves. English improvement.
2006-10-13 20:52:57 +00:00
wiz
adc55bc81c
No Xr to ourselves.
2006-10-13 20:52:08 +00:00
wiz
a721d64ba8
Sort SEE ALSO.
2006-10-13 20:51:28 +00:00
wiz
8b2626be71
"occurred" with two "r", like the majority of files in this directory already
...
uses it.
2006-10-13 20:51:05 +00:00
tnozaki
65b88fc7e0
PR/30809 added manpages of wcswcs(3) and wcscoll(3), wcsxfrm(3)
...
(wcs?width and wprintf are already in repository).
2006-10-13 17:28:09 +00:00
wiz
f592019bff
Bump date for previous.
...
New sentence, new line.
2006-10-13 00:19:21 +00:00
thorpej
8f6016c4e6
Bump libprop version to 0.4.
2006-10-12 04:48:09 +00:00
thorpej
873293facc
Make prop_number_t handle both signed and unsigned numbers. The *integer*
...
routines now take int64_t arguments, and new *unsigned_integer* routines
take uint64_t arguments. See prop_number(3) for complete details.
2006-10-12 04:46:56 +00:00
elad
dc2e62e609
Reword, based on changes from jmc@OpenBSD, thanks!
2006-10-11 11:22:50 +00:00
rpaulo
f3330397f0
Modular (I tried ;-) TCP congestion control API. Whenever certain conditions
...
happen in the TCP stack, this interface calls the specified callback to
handle the situation according to the currently selected congestion
control algorithm.
A new sysctl node was created: net.inet.tcp.congctl.{available,selected}
with obvious meanings.
The old net.inet.tcp.newreno MIB was removed.
The API is discussed in tcp_congctl(9).
In the near future, it will be possible to selected a congestion control
algorithm on a per-socket basis.
Discussed on tech-net and reviewed by <yamt>.
2006-10-09 16:27:07 +00:00
peter
e263dfd62f
WFORMAT is no more...
2006-10-08 17:52:28 +00:00
elad
25c47f2333
PR/34602: sushant: Bug in malloc implementation contains dead code in
...
free_pages()
Applied patch from Mindaugas <unex at linija org> (in #NetBSD-code), thanks
2006-10-08 16:25:15 +00:00
elad
e18b1bdd1d
PR/27233: Arto Selonen: 'options BUFCACHE' vs. 'sysctl vm.bufcache'
...
documentation differs
2006-10-08 15:56:50 +00:00
elad
0dd96e541d
PR/19444: IIMURA Takuji: usleep(0); seems to microsleep(1);
...
Patch applied, thanks!
2006-10-08 15:25:28 +00:00
tron
77e4af1adc
Make sure "libmagic" gets built after "libz".
2006-10-08 13:43:01 +00:00
rillig
bec39efa30
Added a reference to ipcs(1), since that's where one can find out more
...
about the semaphore limits in case of [ENOSPC].
2006-10-08 08:22:34 +00:00
pooka
2fc4655faf
add missing depedency on libz, reported by salo
2006-10-08 08:07:34 +00:00
thorpej
82fd1ebbaa
- Move strtoll.c and strtoull.c from libc/stdlib to common/libc/stdlib.
...
- Add strtoll.c and strtoull.c to libkern.
2006-10-08 03:14:55 +00:00
elad
a35b07a2ca
Correctly recover signal state if failed trying to set it.
...
Patch from David A. Holland in #NetBSD-code, thanks!
2006-10-07 22:16:19 +00:00
apb
b70c743b65
Include nbtool_config.h for tools build. This was part of the
...
patch supplied by Wim Lewis in PR 31232.
2006-10-07 22:04:18 +00:00
elad
1210859fa1
Add nit from rillig@ for PR/19603.
2006-10-07 22:02:47 +00:00
thorpej
2e2d300f43
Grr, adjust last so that it works with our busted lint(1).
2006-10-07 21:40:46 +00:00
apb
bed8b72282
Clarify that gethostbyname and gethostbyname2 can deal with
...
string representations of numeric addresses. PR 28667
2006-10-07 21:30:39 +00:00
elad
9c5eec0043
PR/23152: Matthew Mondor: Minor improvements to section 2 man pages for
...
NetBSD 1.6.1
Well we're long gone from NetBSD 1.6.1 but I adapted the patch to -current
as it seemed reasonable. Thanks for submitting!
2006-10-07 21:03:51 +00:00
thorpej
569c003c39
Use explicit initializers in STDEXT
2006-10-07 20:46:59 +00:00
kardel
403d759108
- simplify code
...
- remove any 'permission checks' via geteuid() - with upcoming
security models these might not match the model any more
- this also fixes a bug where ntp_adjtime() was denied (EPERM)
even though only a legit read status was performed
2006-10-07 20:02:01 +00:00
elad
09256aac55
PR/31232: Wim Lewis: tools/compat doesn't check for pre-existence of
...
strmode()
Commited slightly different diff, input and okay from apb@
2006-10-07 16:19:35 +00:00
pooka
34a6a097c3
add util.h to SYNOPSIS
2006-10-06 15:31:20 +00:00