christos
7ce5e09d1b
- protect DEBUG again because we should be able to set it from the Makefile
...
- add a missing cast to pacify lint.
2008-06-21 23:37:53 +00:00
christos
3873655b27
updates from bind-9-5-0
2008-06-21 20:41:48 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
ghen
1c80da3072
Re-add missing file (removed by cvs import because it was added manually by
...
christos).
Hi Veego!
2007-03-30 20:40:52 +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
59bba4a15c
Although we don't have a kqueue implementation yet, there is no point in
...
limiting the max fd in the poll case. Pointed out by Jan Schaumann, original
patch from FreeBSD/John Baldwin.
2007-03-02 22:56:15 +00:00
christos
233898bdaa
Only try free-ing a version of res if it is not supposed to be pre-inited
...
like before. Fixes issues with programs passing random uninitialized data
as res_state.
2007-02-09 22:29:40 +00:00
christos
41b0e71e94
Don't check for ext being NULL to destroy the res_state. Instead check
...
the option bits like we did before.
2007-01-28 07:54:01 +00:00
christos
5959955102
we don't need <irs.h>
2007-01-28 02:14:05 +00:00
christos
619824ce6d
try again.
2007-01-28 02:13:29 +00:00
christos
e519b45a11
missed one more file.
2007-01-28 02:11:44 +00:00
christos
91eccc4aa8
Fix minor compilation issues.
2007-01-27 23:02:12 +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
seanb
e17c2f7f45
- Function no longer matched prototype after
...
move to ansi prototype in last commit; restore.
- Not noticed as weak aliases are used so the
code is not compiled in.
2007-01-17 16:39:20 +00:00
christos
23b08f8966
Coverity CID 618: Comment out dead code.
2006-03-19 03:10:08 +00:00
christos
0126713300
don't re-define DEBUG
2006-01-24 17:39:44 +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
christos
5b84b3983f
compat core reorg.
2005-09-13 01:44:08 +00:00
christos
86741d79ab
- Fix the remaining indr_references so that they define lint symbols.
...
- Add an internal symbol for strerror_r (thanks klaus for noticing)
- Remove internal __strerror
2005-07-30 15:21:20 +00:00
lukem
88c3eadbfa
Add missing __RCSID()
2005-06-12 05:21:25 +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
christos
0766545fc7
resolve conflicts.
2004-11-07 02:25:01 +00:00
christos
f42653853a
Put back issetugid() check for hostaliases.
...
XXX: this is suboptimal, It would be better if we propelry checked
for access.
2004-09-25 05:33:01 +00:00
christos
4b05f4b58a
Jump through taller hoops to provide binary compatibility with programs
...
compiled with the older and shorter _res. We now use _nres internally
which is the new and bigger one. We define a _res which is the old
size one if COMPAT__RES is set, and then we consult selected values from
this old _res in res_init(), to emulate the old behavior.
2004-06-09 18:07:03 +00:00
christos
3c2635eac1
Do all the _res initialization in __res_get_state()
2004-05-23 16:55:09 +00:00
christos
ba991ec242
one more missing weak_alias
2004-05-23 05:09:52 +00:00
christos
162504ee9b
Provide access to the 8 symbols the bind8 resolver did, through weak aliases.
...
3 of them [res_send_*, and res_querydomain], were done incorrectly before...
2004-05-22 23:47:09 +00:00
christos
7168861fac
Provide access to _res in the non-threaded case, and abort in the threaded
...
case.
2004-05-22 15:44:26 +00:00
christos
5ce4c264ed
disable weak aliases for now; the resolver header file adds __ to all the
...
names.
2004-05-21 16:03:05 +00:00
christos
729d8bb9ff
#ifdef protect __weak_alias
2004-05-21 16:02:40 +00:00
christos
6f3786f41c
namespace protection for resolver routines.
2004-05-21 15:35:05 +00:00
christos
ca31adbdcc
netbsd rcsid.
2004-05-20 19:43:39 +00:00
christos
50d86ec259
more lint fixes.
2004-05-20 19:31:52 +00:00
christos
7899178585
provide __h_errno_set()
2004-05-20 19:31:40 +00:00
christos
fa406da826
Add glue files.
2004-05-20 18:00:55 +00:00
christos
1ad5eecb0b
- add casts to appease lint
...
- fix unreachable condition pointed out by lint.
2004-05-20 17:59:43 +00:00
christos
d2fb1f98f1
add casts to silence lint.
2004-05-20 17:43:31 +00:00
christos
f5b0f7df42
silence lint.
2004-05-20 17:42:30 +00:00
christos
d398b3c4b9
add casts to silence lint.
2004-05-20 17:41:00 +00:00
christos
08b5682b49
- add casts to silence lint
...
- add missing prototype
- rename variables to avoid hiding globals
2004-05-20 17:39:55 +00:00
christos
df510acf5d
- res_ourserver_p prototype was inconsistent (thanks lint)
...
- protect update functions with _LIBRESOLV
- add res_opt() to mirror res_nopt
2004-05-20 17:34:17 +00:00
christos
f4f2cfc21a
- don't use irs.
...
- h_errno is not going to be per-thread in our implementation.
2004-05-20 17:23:22 +00:00
christos
2b237084d1
Import libc portion of the resolver from bind9
2004-05-20 17:18:54 +00:00