Commit Graph

69 Commits

Author SHA1 Message Date
hubertf
e4dc235f82 - Remove unused ctype.h header
- Remove unused debug and progname variables
 - Use return instead of exit() for quiting at end of main()
 - Print errors to stderr instead of stdout

From: Slava Semushin <php-coder@altlinux.ru>
2007-03-10 00:16:51 +00:00
reed
5fe28dc7e5 Fix typo or mispelling. 2006-06-17 04:58:14 +00:00
christos
1dc235cd39 Coverity CID 2448: Remove extra NULL check. 2006-05-23 01:29:31 +00:00
mrg
aadd7d4847 sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
mrg
0c37c63edc change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
2006-05-09 20:18:05 +00:00
wiz
5d1e8b2745 Fix some typos. 2006-02-25 02:28:55 +00:00
hira
c79d0a54ae usage: Add -f and -m. Use getprogname(). Print to strerr.
Reviewed by uebayasi@.  This closes PR bin/26535.
2004-11-17 13:28:31 +00:00
hira
75febfe0c8 usage: Print program name. Whitespace nit.
Reviewed by uebayasi@.  This closes PR bin/26534.
2004-11-17 13:21:09 +00:00
dsl
e09553f3ac Add (unsigned char) cast to ctype functions 2004-10-29 20:33:06 +00:00
lukem
b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
itojun
757e458559 SIOCGIFCONF -> getifaddrs conversion 2003-08-18 05:39:52 +00:00
itojun
47a6a58fe5 use bounded string op 2003-07-14 08:36:34 +00:00
itojun
5402d14cf4 use boundedd string ops 2003-07-14 06:08:04 +00:00
itojun
89bf339ad7 use strlcpy/strlcat 2003-05-17 20:58:39 +00:00
wiz
cd68fb44fb guarantee, not guarentee. Idea from miod@openbsd. 2003-02-02 10:24:38 +00:00
wiz
7bd6fd354d unknown, not unkown. Noted by mjl. 2003-01-28 22:19:22 +00:00
wiz
c053751628 compatibility, not compatiblity. 2003-01-06 13:26:24 +00:00
wiz
a125d07668 Fix typos. Found by Adrian Mrva. 2002-10-29 16:12:25 +00:00
mycroft
ab637af34b Minor cosmetica. 2002-09-20 19:23:58 +00:00
mycroft
9b3fb0ad17 Fix pluralization in a syslog message. 2002-09-18 23:16:13 +00:00
mycroft
c563d4c7c3 select() -> poll() 2002-09-18 23:13:39 +00:00
lukem
c52b93f508 minor makefile delint 2002-09-18 13:31:52 +00:00
wiz
aae9c2a083 De-register. 2002-07-14 00:30:02 +00:00
wiz
131109e49e ANSIfy. Remove ifndef __STDC__. 2002-07-13 23:56:39 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz
320ebd413b Whitespace nits. 2002-01-19 03:06:54 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
wiz
83dadeb5b0 ether_hostton(3), not ether_hton(3) (thanks, Klaus!) 2001-04-11 19:32:25 +00:00
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
enami
270db080e9 Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00
agc
f1eeab30f5 Language police:
"It's" is short for "it is".
	The possessive pronoun is "its".
2001-01-05 17:05:26 +00:00
is
d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
kleink
99c164dd65 Need <sys/param.h> for MAXHOSTNAMELEN. 1999-09-26 10:27:40 +00:00
lukem
7e1c62baf8 set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:17:46 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
briggs
833414c6d9 Missing ). 1999-01-31 19:12:27 +00:00
mrg
a8f9f46183 ensure C strings are nul terminated, and do not overflow buffers. 1999-01-31 10:06:16 +00:00
kleink
3ed4fcf61e In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
1999-01-11 22:39:59 +00:00
abs
05c432cdd9 From OpenBSD: ignore requests with bogus network types
Also fix 'from from' -> 'from'
1998-12-04 18:24:16 +00:00
mycroft
66427701ea const poisoning. 1998-07-26 15:23:39 +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
kleink
53ec1d7147 Need <time.h> for ctime() prototype. 1998-04-02 11:55:52 +00:00
thorpej
407311a4bc Fix types lossage on Alpha. 1998-03-26 06:44:19 +00:00
lukem
7b9e551896 move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
1998-03-15 01:13:24 +00:00
lukem
9493bb7939 warnsify 1998-03-14 04:39:53 +00:00
perry
3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
lukem
0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem
149f1867d1 rcsid fascism 1997-10-18 04:36:50 +00:00
mikel
7c77aacfb1 separate option argument from description; from Enami Tsugutomo in PR 3637.
also RCSid police.
1997-05-20 04:53:12 +00:00