wiz
bf38813317
We have 2006.
2006-02-24 21:57:53 +00:00
ginsbach
c4276fd553
Add EAI_OVERFLOW per RFC3493, POSIX and XPG6.
2006-02-22 14:26:30 +00:00
ginsbach
80194aa8a4
Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is
...
too short. This conforms to RFC3493, POSIX and XPG6. [from KAME]
2006-02-17 15:58:26 +00:00
ginsbach
e0882f7342
Add EAI_OVERFLOW as specified in RFC3493, POSIX and XPG6.
2006-02-17 15:55:01 +00:00
ginsbach
ac8d9f1ddd
Fix spelling mistake in comment. From OpenBSD.
2006-02-13 17:16:20 +00:00
uwe
aa9f62b35d
Use different wording as "null macro" is too ambiguous.
2006-02-04 22:47:28 +00:00
christos
90d0f8cfa0
PR/32616: Yves-Emmanuel JUTARD: Fix compilation with -DDEBUG
2006-01-24 17:29:33 +00:00
perry
fd18408b9a
u_intN_t -> uintN_t
2005-12-26 19:40:14 +00:00
christos
e5548b402a
Use reach-over sources from common/lib/libc
2005-12-20 19:31:47 +00:00
yamt
92ca7d2b16
constify and remove an unnecessary __UNCONST.
2005-12-02 11:33:26 +00:00
yamt
765035980c
constify and remove an unnecessary __UNCONST.
2005-12-02 11:22:09 +00:00
christos
03256c6e55
WARNS=4
2005-11-29 03:11:58 +00:00
christos
3897500b28
forgot to commit this; cleanup to compile with WARNS=4, since lpd uses it.
2005-11-28 14:18:20 +00:00
christos
849dc6749d
Let the default case handle all the errors; no functional change.
2005-10-19 22:56:42 +00:00
tsarna
064cb14faa
Rest of fix for PR#31184: getaddrinfo() now honors resolv.conf sortlist
...
directive for dns answers.
Also, unifdef the RESLVSORT (non-)option sillyness.
Reviewed by christos.
2005-09-15 23:33:41 +00:00
tsarna
083c291209
Re-enable resolv.conf sortlist support in gethostbyname().
...
Fixes first part of PR#31184. addrsort() was not exposed to the rest of
libc as it turns out not to be usable for getaddrinfo(), so a different
sorter will be implemented for that.
2005-09-15 15:25:40 +00:00
soda
c87c2ee2fe
typo - s/intger/integer/
2005-09-11 02:23:52 +00:00
christos
99e58e3f96
add missing in6addr_linklocal_allrouters.
2005-08-07 16:00:01 +00:00
thorpej
1fc5e9b8c4
_nsdispatching needs to count, not just be 1 or 0. Also shuffle around
...
its use a little to eliminate some duplication.
2005-06-26 16:27:36 +00:00
lukem
2f0fdfa7f7
Move the test for "more strict reverse lookup handling" to the correct
...
location so that an uninitialized `in' won't be used if net_i == BYADDR.
Detected with gcc -Wuninitialized, confirmed by diffing against BIND 4.9.11.
(The bug was introduced in rev 1.26. Hi Itojun! :)
2005-06-01 05:19:21 +00:00
lukem
178e201b11
appease gcc -Wuninitialized
2005-06-01 04:38:40 +00:00
christos
eea147d9f9
check for pwd != NULL
2005-04-19 03:20:50 +00:00
kleink
4e3cae58ff
Move the (at this time private) get{proto,serv}ent_r() prototypes and
...
data structures into the libc sources until the interface gets redone.
Approved by christos.
2005-04-18 19:39:45 +00:00
christos
096c521c10
Remove the bugs section. It has been fixed.
2005-03-31 15:45:53 +00:00
christos
5d3d04b484
use re-entrant versions of getpw*(). In libc only pwcache remains and this
...
cannot be changed easily because it involves an API change.
2005-03-30 16:12:58 +00:00
kleink
172675479e
Only name <netdb.h> in the synopsis, like the old manual page used to.
2005-03-21 13:35:04 +00:00
kleink
53b42c4e52
Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments.
2005-03-21 13:30:50 +00:00
ginsbach
27ff389ba6
Update standards section; add X/Open XNS and X/Open - IEEE POSIX.
...
RFC 2553 made obsolete by RFC 3493. Approved by wiz.
2005-03-11 16:13:13 +00:00
lukem
efd08c7b4f
Prevent NULL deref upon malloc failure.
2005-02-28 01:25:24 +00:00
kleink
fd5cb0acea
A little libc namespace housekeeping exercise:
...
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
wiz
b2d185782d
Use In instead of Fd; use \*[Am]\*[Lt]\*[Gt] for html output. Uppercase FREENIX.
2005-01-28 11:04:52 +00:00
itojun
cc1dea55c3
title was backwards. djm@openbsd
2005-01-28 01:36:17 +00:00
wiz
93f4ac130d
Fix a double word, and improve mark up in FILES section. From jmc@openbsd.
2005-01-25 01:39:57 +00:00
wiz
379e07e3ac
Use \*[Am] and \*[Gt], like before the previous revision; use .In; minor other changes.
2005-01-12 14:44:11 +00:00
wiz
c3005f5671
Use .In for including header files, remove some unnecessary quotes.
2005-01-12 14:35:55 +00:00
itojun
f6b6f2cd66
written-from-scratch manpage (fixes ISOC copyright violation)
2005-01-11 07:26:57 +00:00
itojun
2537b08b16
replace with written-from-scratch manpage. (fixes ISOC copyright issue)
2005-01-11 06:01:41 +00:00
lukem
7157011597
Only compile in IPv6 support if ${USE_INET6} != "no"
...
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
mycroft
f38bfebb8e
Throw in mutex stubs to serialize access to the legacy global structures.
2005-01-07 22:22:49 +00:00
christos
da6f1ded1d
revert previous change while discussion is in progress.
2004-12-20 18:30:26 +00:00
itojun
2fdfeb359f
RFC cannot be used as manpage regarding to the ISOC copyright boilerplate.
...
remove it until someone writes it up from scratch/freely-redistributable
text is found.
2004-12-20 03:50:04 +00:00
ginsbach
e9042901ff
rresvport_af() should return -1 when the address family is unsupported
...
and set errno accordingly.
2004-11-29 17:00:06 +00:00
lukem
98a47ed075
Fix gethostent(3) (which was reenabled in rev 1.63) so that it actually
...
works by allowing _gethtent() to treat host.h_addrtype==0 && host.h_length==0
as "any address family" when parsing.
2004-11-23 03:42:13 +00:00
itojun
da88342476
NI_WITHSCOPEID was not picked up by IETF standardization process
2004-11-16 06:04:12 +00:00
lukem
5994f053ec
* Improve the comments in <nsswitch.h>
...
* Provide some more useful default ns_src arrays.
2004-11-10 07:23:32 +00:00
lukem
25d91a60fb
* Re-number NS_FORCEALL from 1<<7 to 1<<8, moving it out of the "public"
...
bitrange for nsdispatch(3) return values.
* Tweak documentation comments in nsswitch.h
* Ensure the result from the back-end method is masked with
NS_STATUSMASK before nsdispatch(3) returns it.
2004-10-04 04:02:27 +00:00
wiz
29ac95abc3
Fix a typo, fix an xref, an drop a space at EOL.
2004-09-29 09:20:19 +00:00
lukem
e775b9e35a
Implement NS_FORCEALL, which may be set in defaults[0].flags by a caller of
...
nsdispatch(3) to indicate that all available database methods for a source
will be invoked. This is useful for functions such as endgrent(3).
2004-09-29 02:47:32 +00:00
lukem
22e72f089d
slight formatting tweaks
2004-09-28 14:44:05 +00:00
lukem
3d2c2adc4d
also ensure defaults != NULL
2004-09-28 11:51:42 +00:00