Commit Graph

179 Commits

Author SHA1 Message Date
christos 2c89343c25 delint 1998-11-13 15:46:52 +00:00
christos dfa4e2c867 Portability. Use #ifdef BSD4_4 for sin_len 1998-10-18 14:22:05 +00:00
kleink 571ab7ae88 Need an internal name for herror(). 1998-10-16 20:26:02 +00:00
kleink a292d8ec80 (bcmp(), bcopy(), bzero()) -> (memcmp(), memcpy(), memset()) 1998-10-15 10:22:23 +00:00
kleink b0decd2b79 Need an internal name for dn_expand(). 1998-10-15 09:28:13 +00:00
kleink a0744c7ad0 Need "namespace.h" for internal {end,get,set}netent() names. 1998-10-14 19:52:57 +00:00
kleink 7a85778bf7 Need internal names for {end,set}hostent(). 1998-10-14 19:41:03 +00:00
kleink 0b11c41974 Since these files are shared with parts of the BIND-4 userland (outside libc),
do the internal symbol renaming dance only if inside the libc build environment.
1998-10-14 19:33:49 +00:00
kleink 886f927ec6 Need internal names for res_init(), res_mkquery(), res_query() and res_search(). 1998-10-14 19:13:01 +00:00
kleink 0d8a0f5d93 Need an internal name for inet_aton(). 1998-10-13 21:03:31 +00:00
kleink b1683a098a Need internal names for gethostby{addr,name}(). 1998-10-13 20:54:02 +00:00
christos c4a835f8e9 Use posix signal system calls. 1998-09-26 23:58:29 +00:00
kleink 19800c4d6f Use gmtime_r() rather than gmtime(); removes a potential source of surprise for
the application.
1998-09-13 16:05:34 +00:00
lukem ce83c69e00 first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
ross 0af9b91fb6 Shut up egcs. (`...might be used uninitialized') 1998-08-19 20:58:42 +00:00
thorpej fbfd17276b Add some braces to keep egcs happy. 1998-08-18 23:57:02 +00:00
mycroft e5d9823796 const poisoning. 1998-07-26 19:05:06 +00:00
mycroft ec143cf9f4 Move an output buffer into the BSS. 1998-07-26 13:14:04 +00:00
mycroft f4a2a13036 const poisoning. 1998-07-26 13:00:41 +00:00
mycroft 79788fe0d2 const poisoning. 1998-07-26 12:47:38 +00:00
mycroft be9c427d60 const poisoning. 1998-07-26 12:29:33 +00:00
mycroft 9ad899cc18 constify some tables. 1998-07-26 11:24:14 +00:00
lukem 786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
mrg 32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
fair 99b27640ed fix mdoc references 1998-04-28 20:25:53 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
kleink f42a18d608 Need <stddef.h> for NULL definition. 1998-03-30 14:51:42 +00:00
lukem fe28db95aa install links for inet_ntop(3) and inet_pton(3) 1998-03-12 12:08:09 +00:00
kleink 643b6d9e61 Include <stddef.h> for NULL. 1998-02-18 12:22:42 +00:00
perry 6982982f8d macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:39:31 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
christos bb0194f1ee Add sorting of resolved addresses. 1998-02-04 12:19:03 +00:00
perry b2e2f28353 add sys/time.h include 1998-02-02 22:36:15 +00:00
mrg ba9b160fd5 merge in lite2 rcsids and a couple of man page fixes we had not yet found. 1998-02-02 11:53:07 +00:00
lukem 7b4851649d use bindresvport for rresvport (from freebsd). old code #if 0-ed out 1998-01-18 06:22:19 +00:00
perry 198f98faf0 $Id: -> Id: (to make hunting down other bad Ids easier). 1998-01-06 05:01:16 +00:00
christos 24f2924d70 inet_addr -> inet_aton 1997-12-21 17:14:24 +00:00
tv b6573fcec0 Add xrefs to new hosts.equiv(5)/rhosts(5) man page. 1997-11-26 18:06:51 +00:00
mrg 4e252e8c4d add missing .Nm entries. from spz@serpens.swb.de. 1997-11-14 02:04:36 +00:00
mjacob ddaa6c3262 Fix compile problem. 1997-11-12 05:49:24 +00:00
cgd 023cd79c6b lint stubs for functions which ports use assembly versions. When using
an assembly version of a function, add the right lint stub to the Makefile.inc
which specifies the source to build the function (see the
arch/i386/*/Makefile.inc).  Can't just lint the normal C versions of these
functions, because some of them don't _have_ normal C versions and if
that were done dependencies would get messed up.
1997-11-06 00:51:04 +00:00
thorpej 2a43f22095 __warn_references and __indr_reference semicolon fixups. From
Chris Demetriou <cgd@pa.dec.com>.
1997-11-04 23:52:05 +00:00
lukem d96a1a939d * fix ether_line to limit size of parsed hostname to MAXHOSTNAMELEN
* modify ether_aton, ether_hostton, and ether_line to take 'const char *'
  arguments as appropriate
* document the above in ethers(3)
1997-11-02 14:21:24 +00:00
lukem 4baee3e06e fix mistake in previous commit (added too many __RCSID/#endif lines 1997-10-09 14:31:59 +00:00
lukem 038f3f9a9b WARNSify if -DDEBUG 1997-10-09 11:34:15 +00:00
lukem 2a55b0f192 rcsid police 1997-10-09 10:07:40 +00:00
hubertf 5ce208addd add xref of ns.4 1997-10-06 23:38:59 +00:00
kleink 0dfbaed62c Make linkntoa.3 a link to linkaddr.3 again; fixes PR lib/4017 from maximum
entropy <entropy@tardis.bernstein.com>.
1997-08-26 20:27:05 +00:00
mikel e37bd19b9b sync __getnetbyaddr() prototypes with the one in getnetbyaddr.c; from
Krister Walfridsson in PR lib/4009
1997-08-19 05:02:49 +00:00
thorpej c91bdb8141 - Add __weak_alias() namespace protection and update for changes to
getnetnyname.c and getnetbyaddr.c.
- Now that getnetbyname() and getnetbyaddr() support looking up their
  entries via BIND (they were previously file-only), add "lookup ..."
  dispatch support (in /etc/resolv.conf), a'la gethostby*().
1997-07-31 23:43:26 +00:00