Date: Sun, 23 Feb 2003 18:09:03 -0800 (PST) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c Message-ID: <200302240209.h1O293ff030558@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2003/02/23 18:09:03 PST Modified files: usr.sbin/newsyslog newsyslog.c Log: 1) Fix so -a honors the -n ("do nothing") option. Before, if the directory given for -a did not exist, then newsyslog would always try to create it, even if -n was specified. 2) When -a processing *does* create the directory, have it check the result from mkdir(), and immediately error-out if that failed. PR: bin/46974 MFC after: 3 weeks Revision Changes Path 1.52 +16 -4 src/usr.sbin/newsyslog/newsyslog.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302240209.h1O293ff030558>