Commit Graph

21 Commits

Author SHA1 Message Date
itojun d9f2774c1e use bounded string op 2003-07-13 12:08:28 +00:00
christos 50455a9139 PR/20318: Johnny Billquist: rwhod does not compile with -DDEBUG 2003-02-12 17:49:35 +00:00
christos b166b5b47b use utmpx. 2002-08-02 02:38:15 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
itojun c8ebe62e8b avoid memory leak on realloc() error. 1999-12-30 09:10:28 +00:00
mjl f214fa323a From FreeBSD bin/14844 (slightly modified): Due to signed calculations
with the packet size, a short packet would trigger an infinite loop
on little endian machines.
1999-11-15 15:59:24 +00:00
thorpej bcd4659148 Use pidfile(3). 1999-06-06 03:27:35 +00:00
mrg 31283e2cd0 fix error in previous pointed out by bad. minor KNFing. 1998-07-08 15:17:57 +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 e5d6d67c63 deprecate register, use warn/err 1997-10-18 11:37:10 +00:00
lukem 8d79db1093 WARNSify 1997-10-17 13:13:40 +00:00
kleink 66105c37fc Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
explorer d3a4eeb1fe Fix some potential buffer overflow problems.
From David Holland <dholland@hcs.harvard.edu>
1996-09-07 21:05:37 +00:00
jtc 9afcf17bec sync with 44lite 1994-05-29 02:53:21 +00:00
andrew b55bc39b4e rwhod wasn't too happy after the off_t change - its lseek() to check the
boottime was broken.  Replaced this code with kvm_nlist()/kvm_read() to be
more efficient.
1994-04-06 03:01:46 +00:00
cgd 7a6e889600 kill bad casts 1994-03-30 02:28:43 +00:00
cgd 20137a28c8 kill extern'd lseek() 1994-03-28 07:08:56 +00:00
mycroft aa14f04fcb From: mrm@sceard.com (M.R.Murphy)
Fix memory leak.
1993-12-15 23:52:40 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft 5a78b45371 Cleanup for GCC 2. 1993-04-18 20:22:09 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00