Commit Graph

185 Commits

Author SHA1 Message Date
joerg
ec66a10c91 Namespace protection for mi_vector_hash. 2010-03-19 18:11:30 +00:00
roy
142091db36 Protect getline. 2009-12-02 08:46:33 +00:00
roy
3490b83a1f Protect getdelim when used internally. 2009-12-01 00:52:13 +00:00
snj
550147bd6a Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
joerg
09d5d44150 Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
2009-05-26 08:04:11 +00:00
christos
59a755a40f merge libbind and bump. 2009-04-12 17:07:16 +00:00
christos
c6497e5b5f libc portion of libbind from external/bsd/libbind 2009-04-12 16:35:44 +00:00
lukem
79362ba3ea avoid lint's whining on i386 2009-02-13 04:01:46 +00:00
uebayasi
30399256d4 Enable assertions only when _DIAGNOSTICS is defined, as other libc parts do. 2009-02-12 16:24:59 +00:00
christos
461a86f9bd merge christos-time_t 2009-01-11 02:45:45 +00:00
ad
117c67b2f2 Add fdopendir(), from Solaris/Linux. 2008-12-05 13:08:53 +00:00
matt
0ad7281825 Add new ptree (Patricia / RADIX tree) implementation to NetBSD. 2008-11-20 23:50:08 +00:00
christos
1c6aec2060 Import syslogd SoC project by Martin Schuette:
- new syslog protocol api syslogp(3) that supports structured data
	  and draft-rfc timestamps
	- reliable tcp connections with queueing
	- encrypted connections
2008-10-31 16:12:18 +00:00
matt
cac8e44915 Add C99 functions imaxabs and imaxdiv. 2008-08-04 21:29:27 +00:00
ad
5f64faa3a9 Add getlogin_r. Manual page changes mostly lifted from FreeBSD. 2008-06-25 11:10:24 +00:00
christos
3873655b27 updates from bind-9-5-0 2008-06-21 20:41:48 +00:00
mrg
c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
rtr
1db9feaaa0 fix comment Abtract -> Abstract 2008-02-04 23:08:01 +00:00
christos
708c364c0e namespace protection for csetexpandtc() 2008-02-02 22:06:34 +00:00
christos
b831a8ada2 move decls for _malloc_{pre,post}fork() to extern.h 2007-12-04 17:45:07 +00:00
ad
4084ca7f3f Add thr_curcpu(), pthread_curcpu_np(). 2007-11-27 20:58:26 +00:00
christos
5463112942 - add read and readlink since they are used internally
- protect vsnprintf and vsnprintf since for lex(1) generated files <stdio.h>
  is included before "namespace.h".
2007-06-03 17:38:07 +00:00
he
e085b08462 The sl_delete function needs namespace protection added here as well. 2007-05-10 11:52:28 +00:00
ghen
225c5452c3 Resolve conflicts. 2007-03-30 20:23:03 +00:00
ghen
e0bee3891d Import bind 9.4.0. 2007-03-30 20:16:18 +00:00
christos
731b8a1ee4 SHA512_Last is not public anymore. 2007-02-18 18:16:24 +00:00
christos
8b01459275 Define for SHA512_Last. 2007-02-17 17:18:12 +00:00
christos
95177770c6 add resolv_mt.h 2007-01-27 22:43:57 +00:00
christos
d73eb73dc8 merge in resolver portion of bind-9.4.0-rc2 2007-01-27 22:26:43 +00:00
christos
8e42b6c984 import resolver portion of bind-9.4.0-rc2 2007-01-27 21:45:34 +00:00
christos
4ca73ce810 Don't expose _ss functions for 4.0. Requested by core. 2006-11-22 17:23:24 +00:00
drochner
97ffbcd858 cleanup unused stuff after hmac_* removal 2006-11-08 20:37:14 +00:00
christos
f594ba0d61 protect the *syslog_ss 2006-11-03 20:16:04 +00:00
christos
29741647a2 add {v,}snprintf_ss 2006-10-28 23:20:57 +00:00
christos
77f9f63fa2 add _r functions for syslog from OpenBSD 2006-10-25 23:49:31 +00:00
mrg
13cc47f2ec remove duplicates added in previous commit. 2006-08-24 06:56:39 +00:00
christos
74f55fa411 I think we want both wcs{c,n}casecmp weak. 2006-08-23 14:01:21 +00:00
mrg
a8ef0c95b4 add wcsdup, wcscasecmp and wcsncasecmp. fixes build problems.. 2006-08-23 06:18:12 +00:00
christos
cbfb283c65 - Add strndup and stresep
- Use stresep so in fstab so that we can mount paths with white space in them.
2006-08-12 23:49:53 +00:00
christos
e9b01fa061 Make these weak as Matthias Drochner pointed out. 2006-06-23 17:15:18 +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
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
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
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
tnozaki
f9de1ba57e add c99 wcstof(3) and wcstold(3).
requested by skrll AT netbsd DOT org, thanks.

bump libc minor 138 -> 139.
2006-04-15 12:17:22 +00:00
kleink
bc89c06cbf Add strtof(3) and strtold(3); welcome libc 12.137. 2006-03-15 17:35:17 +00:00
drochner
39222faf50 complete constification of the sysctl() user side 2006-02-24 19:33:09 +00:00
christos
c975cdc86c - s/notyet/WIDE_DOUBLE/
- Add a little more glue for WIDE_DOUBLE; not done yet.
- s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD.
- fix memory leak where each double formatted leaked 24 by calling __freedtoa()
  appropriately. the new gdtoa keeps a list of memory chunks allocated by
  malloc(), and it must maintained properly by calling __freedtoa() on the
  results of __dtoa() Hi Klaus!
- in vfwprintf() make cvt return char * and convert it using __mbsconv(),
  instead of having it return wchar_t *.

This should fix the memory leaks people have been reporting (eg. in top etc.)
2006-02-16 23:26:19 +00:00