Commit Graph

42 Commits

Author SHA1 Message Date
joerg
d101c0e239 Fix syntax (hi apb!) 2014-03-29 22:45:31 +00:00
apb
a88920f53c sizeof(pointer) is not a good buffer length to pass to strlcat.
Introduce a new variable, clntpathmaxlen, to hold the correct
buffer length, and pass that to strlcat.

The incorrect buffer length would have caused <filename>.<hostname>
lookups to fail.
2014-03-29 18:23:00 +00:00
roy
258cf0abec Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
2012-04-21 12:27:24 +00:00
joerg
dccf569e0e Use __dead. 2011-08-29 20:38:53 +00:00
lukem
7affd6558f Fix -Wsign-compare issues 2009-04-15 00:13:50 +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
reed
5fe28dc7e5 Fix typo or mispelling. 2006-06-17 04:58:14 +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
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
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
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
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
wiz
83dadeb5b0 ether_hostton(3), not ether_hton(3) (thanks, Klaus!) 2001-04-11 19:32:25 +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
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
abs
05c432cdd9 From OpenBSD: ignore requests with bogus network types
Also fix 'from from' -> 'from'
1998-12-04 18:24:16 +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
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
d066405291 fix typo, from Enami Tsugutomo in PR bin/3636 1997-05-20 04:42:56 +00:00
mikel
e6c909f2ac argument given to -t flag is in minutes; from SAITOH Masanobu in PR
misc/3509.  nuke a typo while I'm here.
1997-04-18 05:22:35 +00:00
thorpej
34a7e2eb3d Correct pathname of bootpd and bootpgw.
From Erik Bertelsen <erik@sockdev.uni-c.dk>, PR #2744.
1996-09-27 01:38:55 +00:00
gwr
f1d623f2f2 Some corrections regarding boot file and path (suggested by cgd) 1996-06-19 16:08:34 +00:00
gwr
587d8cc1f5 Explain why the HP printers fail and how to work around the problem. 1996-06-19 15:15:40 +00:00
jtc
cac62b2d65 Be pedantic, main() returns int in C. 1996-03-21 17:56:15 +00:00
cgd
e08ec6db18 play a bit safer with types. 1994-12-23 16:52:30 +00:00
cgd
d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
gwr
0570746739 Make this match what I posted on comp.sources.unix as patch 1.
(Functionally the same as yesterday's commit.)
1994-08-24 18:14:44 +00:00
gwr
459c40194d Fix missing initialization (thanks to Brezak). 1994-08-24 01:34:47 +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