Commit Graph

24 Commits

Author SHA1 Message Date
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