Date: Tue, 16 Jan 1996 02:32:06 -0800 (PST) From: Thomas Graichen <graichen> To: CVS-committers, cvs-usrsbin Subject: cvs commit: src/usr.sbin/newsyslog Makefile newsyslog.c Message-ID: <199601161032.CAA03303@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
graichen 96/01/16 02:32:05
Modified: usr.sbin/newsyslog Makefile newsyslog.c
Log:
Submitted by: charnier@lirmm.fr (Philippe Charnier)
1) correct MAX_PID according to system definition.
2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence.
3) make strings enough larger so they can't overflow: MAXHOSTNAMELEN for
host and MAXPATHLEN for filenames.
4) call execl with correct parameters (compress -> gzip).
Revision Changes Path
1.2 +3 -2 src/usr.sbin/newsyslog/Makefile
1.3 +48 -80 src/usr.sbin/newsyslog/newsyslog.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601161032.CAA03303>
