Commit Graph

93 Commits

Author SHA1 Message Date
cgd f5e2eec480 get return type right. 1994-10-19 03:20:30 +00:00
cgd 685a1b9fa2 beware pointer casts. 1994-10-19 03:19:42 +00:00
deraadt 2343dc8f90 u_int_{16,32}_t stuff 1994-10-15 07:56:51 +00:00
pk fc016a129a Fix last bug correctly 1994-06-03 15:02:21 +00:00
pk 1429552f6e Defend against empty names. 1994-06-01 19:54:07 +00:00
pk 816feb25c5 Avoid stomping on static memory by repeatly calling gethostbyname(). 1994-06-01 19:32:43 +00:00
pk 350b02a45f Don't try to lookup an empty hostname; some nameservers return the root servers
for such a query.
1994-06-01 19:23:59 +00:00
deraadt cda7e4788e fix the stupid select bug AGAIN 1994-05-27 18:56:24 +00:00
cgd 9e263d13ee kill typo, pointed out by John Hay <jhay@mikom.csir.co.za> 1994-05-25 20:37:52 +00:00
cgd 7aa3357e1b udpated rcmd 1994-05-18 06:35:14 +00:00
deraadt 94677efe9e size_t 1994-05-13 22:23:05 +00:00
deraadt 0681fe2f1e set h_errno for non-BIND failed lookups too 1994-04-14 07:47:37 +00:00
deraadt bc93d2c77e new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number
of features and optimizations by myself.
1994-04-07 06:58:29 +00:00
deraadt e91cd2af40 but described in a posting by <RHussein@uh.edu> somewhere on the net.
select() loop hung if either socket was >=32.
1994-03-27 07:49:10 +00:00
davidb 068965c68b h_errno is an int, not a "struct". 1994-03-12 09:00:01 +00:00
deraadt b4af129fde fix bug where yp gethostby* lookups could have extra stuff in the alias
fields, and leave bogon stuff in the address fields...
1994-02-27 10:09:09 +00:00
jtc e2c220f94b Fix spelling error in Copyright notice 1994-01-28 20:34:33 +00:00
deraadt 7b729d55a0 support for lookup keyword in resolv.conf 1994-01-28 03:10:35 +00:00
deraadt cac819eb3b support for lookup keyword in resolv.conf 1994-01-28 03:00:25 +00:00
deraadt e49d599168 note resolver(5) -> resolv.conf(5) move
(any more of these needed?)
1994-01-26 10:59:58 +00:00
jtc 719a8083f0 Fix spelling errors. 1994-01-11 00:05:54 +00:00
deraadt 1a361f13ba "struct ether_addr" is in netinet/if_ether.h (as in SunOS) 1993-12-30 04:21:05 +00:00
jtc a5313a04b3 #include <stdlib.h> & <string.h> to bring function prototypes into scope. 1993-12-28 19:51:37 +00:00
deraadt 46c1a166d2 small bug fixed 1993-12-16 19:19:14 +00:00
deraadt e1d7e3c22c ethers(3) man page by Roland McGrath <roland@frob.com> 1993-12-16 15:50:20 +00:00
deraadt 6a3865505c ethers(3) sunos-like support from Roland McGrath <roland@frob.com>
YP code fixed by myself (looked in wrong maps, didn't free things :-)
used by rarpd & friends.
1993-12-16 05:17:35 +00:00
pk 49d5ac06cc Added some Sparc sources. 1993-12-08 13:31:01 +00:00
briggs bdb4a3a91a Changed occurance of MACHINE_ARCH == "hp300" to MACHINE_ARCH == "m68k" 1993-12-05 15:45:52 +00:00
deraadt f92ccee2e2 should bzero automatic sockaddr's before use 1993-12-05 14:36:48 +00:00
cgd f00e1cfe6a get pc532 moved into ns32k; that's is MACHINE_ARCH 1993-12-05 02:20:58 +00:00
cgd 30dc89704d split up the {ntoh,hton}[ls] functions 1993-12-05 01:36:46 +00:00
cgd 0ada107897 update for .S and MACHINE_ARCH 1993-12-04 02:33:35 +00:00
cgd 0b9f50897e make an arch directory in libc, and move all machine dirs into it 1993-10-07 00:17:24 +00:00
phil 7ce7cb30df pc532 specifics. 1993-09-17 19:22:50 +00:00
jtc 53229bead2 Provide C language versions of the netorder functions.
These may be "good enough" for big-endian systems that do not have assembly
language versions of their own.  A compiler should be able to do a fairly
good job optimising them, it probably won't be smart enough to omit the
stack frame, but then again, these functions won't be called unless the
macro versions are undef'd.
On the other hand, they are only intended for bootstrap purposes on little-
endian systems.  They should be replaced with assembly language versions as
soon as possible.
1993-08-31 19:00:11 +00:00
jtc 9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
mycroft 584cb286d8 Add RCS identifier. 1993-08-03 21:55:48 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd c6ac4dd960 Needed for netstat to compile, add iso_addr &c
(from Havard Eidnes <Havard.Eidnes@runit.sintef.no>)
1993-05-21 12:47:53 +00:00
mycroft 8c13f4907a Compile {iso,ns}_{addr,ntoa}. 1993-04-25 07:24:14 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00