Date: Mon, 16 Dec 1996 16:55:24 -0800 (PST) From: Paul Traina <pst> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/cron/cron cron.h database.c do_command.c job.c popen.c user.c src/usr.sbin/cron/crontab crontab.c src/usr.sbin/cron/lib compat.c env.c Message-ID: <199612170055.QAA20682@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
pst 96/12/16 16:55:24
Modified: usr.sbin/cron/cron cron.h database.c do_command.c job.c
popen.c user.c
usr.sbin/cron/crontab crontab.c
usr.sbin/cron/lib compat.c env.c
Log:
Replace my "inane" usage of snprintf to copy strings with strncpy as
used by OpenBSD. (Quite frankly, I think it's perfectly reasonable to
use snprintf to copy strings, given that the semantics for strncpy()
are utterly idiotic and there is no POSIX sstrncpy().)
While I'm at it, incorporate some of OpenBSD's bugfixes to cron.
NOT for 2.2
Revision Changes Path
1.4 +2 -1 src/usr.sbin/cron/cron/cron.h
1.4 +4 -3 src/usr.sbin/cron/cron/database.c
1.7 +7 -6 src/usr.sbin/cron/cron/do_command.c
1.2 +3 -2 src/usr.sbin/cron/cron/job.c
1.2 +4 -3 src/usr.sbin/cron/cron/popen.c
1.3 +24 -7 src/usr.sbin/cron/cron/user.c
1.7 +20 -8 src/usr.sbin/cron/crontab/crontab.c
1.3 +9 -6 src/usr.sbin/cron/lib/compat.c
1.3 +29 -5 src/usr.sbin/cron/lib/env.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612170055.QAA20682>
