David Malone
8f4c8256b2
1) Move FreeBSD ID below vendor ID and don't compile vendor ID.
...
2) Cast some numbers we know to be positive to size_t before we MIN them
with the result of a sizeof.
3) Compare result of inet_addr to INADDR_NONE, not -1.
2002-02-27 15:22:12 +00:00
Guido van Rooij
b50764b00b
Argh...argv->argc
2002-01-04 13:46:57 +00:00
Guido van Rooij
57aa7d5027
Fix the coredump that occurs when, from the tfpt prompt, a 'c' command is
...
issued without an argument.
2002-01-04 13:42:14 +00:00
Mark Murray
8049f797e3
WARNS=2 fixes. NO_WERROR set as there are some hard-to-fix
...
signed/unsigned comparisons. Use __FBSDID().
2001-12-11 23:43:15 +00:00
Bruce Evans
8979160a62
Fixed most style bugs in previous commit.
2001-10-19 12:27:26 +00:00
Matthew N. Dodd
c33ed45032
Add libedit support to tftp.
2001-10-19 00:23:07 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
David Greenman
8692ad469b
Rename a function name so that it doesn't conflict with a future system call.
1998-10-30 16:17:50 +00:00
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
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