summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/res_comp.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the resolver in libc to BIND9's one.ume2006-03-211-268/+0
| | | | | | | | | | | | | | | | | | | | | | Since, res_sendsigned(3) and the friends use MD5 functions, it is hard to include them without having MD5 functions in libc. So, res_sendsigned(3) is not merged into libc. Since, res_update(3) in BIND9 is not binary compatible with our res_update(3), res_update(3) is leaved as is, except some necessary modifications. The res_update(3) and the friends are not essential part of the resolver. They are not defined in resolv.h but defined in res_update.h separately in BIND9. Further, they are not called from our tree. So, I hide them from our resolv.h, but leave them only for binary backward compatibility (perhaps, no one calls them). Since, struct __res_state_ext is not exposed in BIND9, I hide it from our resolv.h. And, global variable _res_ext is removed. It breaks binary backward compatibility. But, since it is not used from outside of our libc, I think it is safe. Reviewed by: arch@ (no objection)
* Correct a comment.deischen2006-02-271-4/+4
| | | | | | | | | Staticize two tables thare are not visible in <resolv.h> and which are also local in Solaris' libresolv. Remove two functions that are not referenced in libc nor anywhere else I can find, not visible in <resolv.h> and which are also local in Solaris libresolv.
* Remove unused variables and assignments.stefanf2005-04-081-2/+2
|
* Fix the style of the SCM ID's.obrien2002-03-221-1/+2
| | | | I believe have made all of libc .c's as consistent as possible.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Implement the weak aliases for private entry points in the inet_*jdp1998-09-021-1/+10
| | | | | | | | | | | and res_* modules in a way that works for ELF. I moved the aliases out of res_stubs.c and into the individual modules where the entry points are defined. Weak aliases don't work in ELF unless that is the case. (Actually, I'm surprised it worked for a.out.) This should fix the undefined "inet_addr" and related symbols in various applications that fail to include <arpa/inet.h> or <resolv.h> as they are supposed to do.
* Update the resolver parts to bind-8.1.2 level. I have not touched thepeter1998-06-111-706/+42
| | | | | | getXXXXbyYYYY() interfaces yet. Obtained from: diff relative to bind-8.1.2 sources
* Update libc dns code to 4.9.7-T1B level. This involved chopping out largepeter1998-05-021-242/+668
| | | | | | chunks of res_comp.c and replacing it with chunks of bind-8.1.1's resolver code. (There are no interface changes though) The other parts are better bounds checking related.
* Merge in bind-4.9.6 resolver changes. Note that they resolve thepeter1997-06-271-5/+8
| | | | overflow problem differently.
* Add MAXHOSTNAMELEN checkache1997-06-131-1/+3
| | | | Obtained from: OpenBSD
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Here goes.. Bring the 4.9.5-P1 resolver into -current. This has thepeter1996-12-301-3/+8
| | | | | DNSSEC stuff, among other things. There are also some renamed functions, I've left out the res_stubs.c from this commit in case cvs bombs out..
* Sigh, back out the last bright idea I had here about compiling the res_*peter1996-08-301-0/+486
| | | | | | | | routines from contrib/bind directly. There were too many problems, including having to add -DUSE_OPTIONS_H to the entire libc source in order for the contrib code to pick up it's options, and so on. Instead, I've merged the changes, libc is now self contained again.
* Merge in bind-4.9.4-P1 resolver...peter1996-08-291-378/+0
|
* General -Wall warning cleanup, part I.jkh1996-07-121-3/+3
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Merge the 4.9.3-rel code into the res_* parts. The gethostXXXbyYYYpeter1996-01-071-16/+13
| | | | parts are not quite so simple..
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* get* rework and new bind codepst1994-09-251-22/+48
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+355
OpenPOWER on IntegriCloud