Commit Graph

28 Commits

Author SHA1 Message Date
lukem 7affd6558f Fix -Wsign-compare issues 2009-04-15 00:13:50 +00:00
gmcgarry 3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
xtraeme c8f61d2b50 WARNS=4 2008-05-02 19:22:10 +00:00
tls be45f4d02a For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
2007-05-27 16:31:41 +00:00
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
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
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
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
mycroft ab637af34b Minor cosmetica. 2002-09-20 19:23:58 +00:00
mycroft c563d4c7c3 select() -> poll() 2002-09-18 23:13:39 +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
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
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
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 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
mycroft 76a3199557 Use inet_aton(), not inet_addr(). 1995-05-19 22:05:08 +00:00
gwr bcb13bab8e Update to version 2.4 1994-08-22 22:14:32 +00:00
gwr 5e9d01f29a Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
1994-06-27 21:25:48 +00:00