Warner Losh
a716ad6693
Don't assume that hp->h_lenght == 4. Be conservative in its use.
...
Submitted by: J. Assange a long time ago.
1998-06-09 04:31:02 +00:00
John Birrell
5b116430fc
Add #include <string.h> to get prototypes.
1998-02-20 04:33:03 +00:00
Philippe Charnier
fd129a0245
Use err(3). 100 -> MAXHOSTNAMELEN from OpenBSD.
...
Obtained from: OpenBSD
1997-08-14 06:47:41 +00:00
Bruce Evans
eaa86f9d7f
Don't use __dead or __pure in user code. They were obfuscations
...
for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
Joerg Wunsch
ca22ff9ec7
Kill the (hopefully) last occurance of gets(3) in the base source tree.
1995-12-27 23:23:43 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00