Commit Graph

6836 Commits

Author SHA1 Message Date
tnozaki
a55e9cdf1a fix lib/33476:
added following manpages (derived from FreeBSD),
    wcwidth(3) wcswidth(3)
    wcstol(3) wcstoll(3) wcstoimax(3)
    wcstoul(3) wcstoull(3) wcstoumax(3)
  and update doc/TODO.i18n.
2006-06-03 04:36:43 +00:00
mrg
e69cf86f15 remove GCC2 support 2006-06-02 19:47:15 +00:00
mrg
da78757b0f initialise some variables for gcc. 2006-06-02 19:46:56 +00:00
jnemeth
d7635ff0b0 missed check for malloc() returning NULL 2006-05-29 21:55:41 +00:00
drochner
837ecb8ce8 support the new ntp_gettime() syscall and add compatibility for the old one 2006-05-29 10:02:56 +00:00
wiz
6f524b4705 Punctuation nit. 2006-05-22 21:55:01 +00:00
kleink
bf44a81954 Clarify that strerror() doesn't return EINVAL but stores in errno;
prompted by Thomas Klausner.
2006-05-22 21:40:33 +00:00
mrg
15fc3900ea add a local prototype for fabs() 2006-05-21 02:51:15 +00:00
tsutsui
d2152dcfde - getvfsstat(2) isn't in 2.1 but 3.0
- getffstat() -> getfsstat()
2006-05-19 17:59:28 +00:00
tsutsui
d3eabd24ce fhstatvfs(2) isn't in NetBSD 2.1 but 3.0. 2006-05-19 17:57:37 +00:00
christos
f5bdde5936 Coverity CID 3651: Don't leak ifaddrs on getaddrinfo failure. 2006-05-18 20:42:52 +00:00
christos
96473fa808 change __weak_extern to __weak_reference so that gcc4 works. 2006-05-18 17:54:19 +00:00
christos
ca130c6a90 Explicitly mention that telldir values are only valid for the lifetime of
the DIR pointer. Pointed out by Klaus Klein.
2006-05-18 15:30:36 +00:00
christos
cfd3aebca4 PR/24324: Arne H Juul: Re-implement seekdir/telldir using a pointer of
locations per directory instead of a global hash table to avoid memory
leak issues, and incorrect results.
2006-05-17 20:36:50 +00:00
mrg
8726b401d3 if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess. 2006-05-16 20:55:51 +00:00
mrg
640873a430 make sure there is a prototype in scope. 2006-05-16 05:29:16 +00:00
elad
04d63f90b5 Introduce PaX MPROTECT -- mprotect(2) restrictions used to strengthen
W^X mappings.

Disabled by default.

First proposed in:

	http://mail-index.netbsd.org/tech-security/2005/12/18/0000.html

More information in:

	http://pax.grsecurity.net/docs/mprotect.txt

Read relevant parts of options(4) and sysctl(3) before using!

Lots of thanks to the PaX author and Matt Thomas.
2006-05-16 00:08:24 +00:00
christos
06f18c1c0d XXX: GCC uninitialized variable. 2006-05-14 02:15:31 +00:00
mrg
52874db1aa since we rename and provide a weak symbol for MD2Transform make it non-static. 2006-05-12 02:49:00 +00:00
mrg
340a97942e if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess. 2006-05-11 23:53:14 +00:00
mrg
e221bc9fb9 in _m_gmon_destructor(0 when traversing the list, add (void *) to the cast
chain.
2006-05-11 17:19:15 +00:00
mrg
6f4493cd5c xdr sucks. sprinkle some (void *) casts into it's functions taking void **,
and shut up GCC4.
2006-05-11 17:11:57 +00:00
mrg
77c7eed08d add128() wants bits64 * as it's 5th argument. 2006-05-11 16:38:44 +00:00
christos
b0a429fdb3 Document more MSG_ flags. From FreeBSD 2006-05-11 15:48:48 +00:00
mrg
fd07545586 in makecontext(), sp is unsigned * so don't assign signed *'s to it. 2006-05-11 00:34:44 +00:00
mrg
084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
rpaulo
69687a2d6c Bump minor for recent IPv6 API changes. 2006-05-09 11:17:37 +00:00
rpaulo
de8db47547 Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.

From the KAME project (www.kame.net).
Reviewed by core.
2006-05-05 00:03:21 +00:00
christos
99f76ec337 Adjust for the fhstat() compat kernel change. 2006-05-04 19:00:18 +00:00
christos
fc716ffaeb It is really bad style to define ULong unsigned long in one file and
uint32_t in another. No wonder lint was bitching (hello kjk)
2006-05-04 18:59:23 +00:00
christos
109ac28f93 Only do the mutex dance if _REENTRANT 2006-05-04 18:38:56 +00:00
wiz
7cde219c2b Bump date for previous, uppercase I/O, serial comma, remove trailing space. 2006-04-26 20:41:30 +00:00
drochner
a781fb5f1e fix some unpaired sigblocks which possibly leave the process with all
signals blocked,
this might some problems with the Gnome GUI which uses RPC to communicate
with "fam" (file access monitor), in particular it might fix PR pkg/22483
by jmmv
2006-04-25 18:54:51 +00:00
blymn
434398553a Change DISKSTATS to IOSTATS, document new i/o stats sysctl. 2006-04-25 11:56:25 +00:00
wiz
20862d8c44 Bump date for previous. 2006-04-24 21:54:37 +00:00
liamjfoy
14a07a0706 - add a missing ;
- use 'size' instead of 'nsize', makes more sense

ok christos@
2006-04-24 20:46:23 +00:00
jld
8293fbeb02 \*[Am] for an ampersand, not *[Am]. 2006-04-24 20:27:34 +00:00
snj
a640fe8c43 It's "its." 2006-04-24 19:00:29 +00:00
drochner
cc76bf4bcf add an #include path for sigcompat.c to get at <sys/compat>; this
file is a mix of official and compat functions, and until this is
sorted out the extra path is needed to build a "legacy free" libc
2006-04-24 17:15:06 +00:00
wiz
975e7796db Improve description of msg_name and msg_namelen fields.
Addresses PR 33330 by Nils O. Selaasdal.
Use more markup.
2006-04-23 19:06:59 +00:00
wiz
abc202e87e No abbreviations in Dd arguments. 2006-04-23 16:46:32 +00:00
wiz
e29be3b11f Some serial commas. 2006-04-23 16:44:00 +00:00
wiz
bb197ac232 We are not NeyBSD. 2006-04-23 16:43:10 +00:00
uwe
13ab2e2a10 Now that bcopy.S doesn't contain the actual implemenation, move it
back to libc.
2006-04-23 00:08:18 +00:00
thorpej
7d3d66c90e Move strtoumax.c from libc/stdlib to common/libc/stdlib and include it
in libkern.  Required for new code coming soon.
2006-04-22 15:33:33 +00:00
salo
11124f2a30 Add setttyentpath() information to RETURN VALUES and HISTORY, too. 2006-04-18 09:38:12 +00:00
salo
2118fde310 Add setttyentpath(), functionally equivalent to setttyent() but takes an
additional argument to read the ttys information from an alternate path
istead of _PATH_TTYS.

Required for upcoming init(8) changes.

Mostly from <apb>.

Bump libc minor.
2006-04-17 23:29:21 +00:00
christos
2c277d7a8d namespace protect wcstod too, and fix the protection in wcstold and wcstof. 2006-04-16 17:03:32 +00:00
tnozaki
2771536f25 for compiling problems, remove wcstod -> wcstold weak ref.
noticed by Mr, Matt Fleming and Tsutsui-san, thanks.
2006-04-16 16:34:20 +00:00
tnozaki
96c958955a wcstod(3) is conform to ISO C90 Ammendant1 (FreeBSD's manpage is incorrect...).
don't __weak_alias'ize it and fix manpage.
2006-04-15 15:34:34 +00:00