matt
fcd0fb118f
Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
...
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
drochner
85cbf55d16
Since our gcc doesn't warn about NULL format strings anymore, we can
...
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
christos
18d277be6d
char -> unsigned char
1998-12-20 15:04:40 +00:00
ross
f670fa10c5
Add { and } to shut up egcs. Reformat the more questionable code.
1998-08-25 20:59:36 +00:00
mycroft
af26acbc65
const poisoning.
1998-07-26 23:14:40 +00:00
mrg
448f5de7fb
KNF. use S_IWGRP instead of homegrown crap. ensure tty buffer is nul-terminated.
1998-07-06 11:17:30 +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
f4100846b8
deprecate register
1997-10-20 03:24:44 +00:00
mrg
658077dbfb
WARNSify; clean up .Nm
1997-10-19 14:35:28 +00:00
mrg
a4d8e69073
remove possibly dangerous sprintf and strcpy calls.
1997-02-11 08:21:03 +00:00
explorer
8b5cdff515
sprintf -> snprintf, from David A. Holland <dholland@eecs.harvard.edu>
1997-01-20 19:04:59 +00:00
perry
9cb735d26b
fix write to print a warning if the sender has "mesg n" set, instead
...
of dying with an error. From Mark Weaver
closes pr-355, per thorpej
1997-01-17 01:52:12 +00:00
tls
9d225a1783
RCS ID police
1997-01-09 20:18:21 +00:00
jtc
5a441adfaf
sync with 4.4lite2
1995-08-31 21:48:32 +00:00
jtc
5720e226ae
misc cleanup by jimj and myself.
1994-12-21 07:11:00 +00:00
mycroft
180e70c1db
Update to 4.4-Lite version, converted to use err*(3) and warn*(3).
1994-09-19 08:18:22 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
c3e42d1c64
Add RCS indentifiers.
1993-08-01 07:22:47 +00:00
mycroft
d0f8d5d2bb
Add RCS identifiers.
1993-07-30 22:28:22 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00