simonb
b5c503ca40
Remove conditional strdup() compiled if OSF isn't defined, and -DOSF
...
from the Makefile to guarantee that the private version strdup() isn't
compiled in.
1998-07-29 01:31:50 +00:00
mrg
2beab49a06
- 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:45:41 +00:00
kleink
fb7c0a91b5
Need <time.h> for time() and ctime() prototypes.
1998-04-02 10:35:26 +00:00
lukem
6c49a51bc6
WARNSify, fix .Nm usage, getopt returns -1 not EOF
1997-10-19 06:23:50 +00:00
thorpej
1d4301453f
RCS id police.
1996-09-27 01:56:55 +00:00
thorpej
e8e306239b
Correct behavior of setting number of saves to 0.
...
From Kenneth Stailey <kstailey@dol-esa.gov>, PR #2724 .
1996-09-27 01:55:26 +00:00
pk
94f289c7bb
Fix formatting of timestamp (Mike Grupenhoff; PR#1906).
1996-01-07 00:48:24 +00:00
jtc
bea110759f
Pass progname to the printf call in usage().
1995-01-21 21:53:46 +00:00
jtc
c15bd8dda9
Changed so that log entry format used when logfiles are rolled over
...
matches that of syslogd(8). This is a slightly modified version of
the patch Thorsten Lockert supplied with PR #684 .
Changed manpage to reflect the fact that we are using gzip instead
compress.
1995-01-06 19:20:20 +00:00
pk
1a674dfd60
Check for reasonable syslog pid before HUPing.
...
Replace arbitrary constant by MAXPATHLEN.
1994-02-20 09:54:45 +00:00
cgd
ecb9421ced
compatibility fixes suggested by Luke Mewburn <lm@rmit.edu.au>
1994-02-07 07:00:26 +00:00
mycroft
7a5112319b
Fix rcsid conflict.
1993-08-10 00:05:51 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
c210f82522
add use of "COMPRESS_POSTFIX" define, to determine what postfix
...
(e.g. ".Z", ".z", etc.) to append to compressed log files.
1993-05-22 03:52:17 +00:00
cgd
6da19b6501
use the correct (or so john brezak says) copyright.
1993-05-21 14:47:29 +00:00
cgd
90beb7e48c
initial import of this log-rotation program to NetBSD
1993-05-21 14:43:59 +00:00