Commit Graph

65 Commits

Author SHA1 Message Date
christos
3fd7285df0 Don't include utmp.h 2002-08-02 02:13:46 +00:00
wiz
babf9fcdb0 Make compile with -DHAVENIS. Also make compile with WARNS=2, and
set WARNS=2 in Makefile.
2002-07-10 22:44:22 +00:00
wiz
0fb8fdab47 ANSIfy, remove __P(). 2002-07-06 22:08:30 +00:00
wiz
557fe0a8de ANSIfy and de-__P() a bit more. 2002-07-06 22:01:40 +00:00
wiz
8fb60bde2d Remove unused files (cf. timed{,c}/timed{,c}-extern.h). 2002-07-06 21:59:26 +00:00
perry
46c82860b1 Fix a variable initializer where CLK_TCK was assumed to be a compile
time constant. Soon it won't be.
2002-06-23 17:47:45 +00:00
wiz
09141f935a Sort sections. 2002-02-02 02:02:44 +00:00
reinoud
ec98fbc0db Code cleanup; remove all `#ifdef sgi' from the code... this clobbered the
code considerably and was mainly providing SGI specific logging facilities
and some hacks to improve the relyablility on SGI systems by increasing
priorities etc...
2001-09-02 00:13:05 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
wiz
6e20d67676 Add sections to xrefs. Whitespace fixes. 2001-04-05 11:53:46 +00:00
wiz
57feeb4802 Xref ntpd(8), not NTP. Whitespace fixes. 2001-04-05 11:53:11 +00:00
itojun
0dff585654 cope with malformed packets better.
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-01:28/timed.patch
2001-03-13 00:14:39 +00:00
garbled
3812bc3f00 Remove __FILE__ and __LINE__ from a normal error message reported via
syslog.  Closes PR 5875
2001-03-07 21:46:04 +00:00
lukem
30724dba3e LOG_ODELAY is deprecated; it's the default 2001-01-11 03:05:42 +00:00
lukem
cb4cea7120 don't use LOG_CONS 2001-01-11 02:44:03 +00:00
kleink
a3c6c197a2 Cast timeval members to types we know the printf conversions of. 2000-03-27 17:03:25 +00:00
mycroft
f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
simonb
fd8040a031 s/acknowledgment/acknowledgement/ 1999-09-10 03:24:14 +00:00
thorpej
bcd4659148 Use pidfile(3). 1999-06-06 03:27:35 +00:00
garbled
d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +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
perry
3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
lukem
0acc42ca87 fix rcsid 1998-01-05 05:59:45 +00:00
christos
0c52e80b3e Install the docs. 1997-12-21 16:14:41 +00:00
christos
24209f3874 Obj dir and groff fixes. 1997-12-21 16:00:49 +00:00
drochner
24393e44bb Oops, mrg had a reason to use %ld format.
We really need a cast to print off_t values.
1997-10-20 18:42:17 +00:00
drochner
462ad8b47d fix printf format 1997-10-20 18:25:05 +00:00
mrg
a62207fee8 fix compile warnings on the alpha. 1997-10-19 09:56:10 +00:00
lukem
9f6ff4ad6f use string.h instead of strings.h 1997-10-18 07:05:31 +00:00
lukem
31bc9c50ba WARNSify 1997-10-17 13:59:34 +00:00
mrg
18b882a973 merge lite-2 1997-10-17 08:49:29 +00:00
mrg
b3e461525d 4.4BSD-Lite2 1997-10-17 07:06:38 +00:00
gwr
10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mrg
b6bb351e9c be safe with buffers. 1997-04-13 13:45:02 +00:00
thorpej
94a7999e9d Fix byte-order bug in net number comparison.
From Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>, PR #2961.
1996-11-25 20:04:42 +00:00
cgd
e9e09ebaca use fixed-size types where appropriate, to make timed work on 64-bit
machines (Alpha).  fixed sized types, not 'timeval's should go over
the net, and the stuff that goes over the net can't necessarily be
passed directly to functions that expect timevals.
1996-04-06 01:53:29 +00:00
mark
d907c07635 Use an integer instead of a char to store the getopt() return value in
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-03-30 23:53:51 +00:00
pk
6ea706d3c0 Remove a comma. Use `.Dq'. 1995-08-18 15:26:45 +00:00
pk
1a5a1af0ab .SH' -> .Sh' (from Masanobu Saitoh; PR#1378).
Also, use .Dq in two places, remove an extra comma and pluralize WARNING.
1995-08-18 15:22:34 +00:00
jtc
5bf668ed11 Fix formatting bug. 1995-07-14 17:38:29 +00:00
cgd
29d4fed17f typeof(timeval.tv_sec) != time_t 1995-06-07 17:40:51 +00:00
mrg
89621f654f 4.4BSD-Lite2 1995-03-26 22:24:18 +00:00
mycroft
e3554fe598 Update to use timer{add,sub}(). 1995-03-21 14:42:59 +00:00
mycroft
29a8916e22 Update to use timer{add,sub}(). 1995-03-21 14:36:54 +00:00
cgd
d065420b32 specify man pages the new way. 1994-12-22 11:43:15 +00:00
mrg
e0b6e3376f 4.4BSD-Lite2 1994-05-11 17:19:24 +00:00
deraadt
293e2065ac bzero a sockaddr_in 1994-04-24 15:08:22 +00:00
pk
4f38527a74 Use network byte-order (from Gerard J van der Grinten <gvdg@nlr.nl>) 1994-04-22 12:51:00 +00:00
mycroft
9bc128a9ba Clean up deleted files. 1994-03-19 07:08:56 +00:00