From: Marcela Mašláňová <mmaslano@redhat.com>
Date: Mon, 28 Jul 2008 12:56:52 +0000 (+0200)
Subject: Clean hardwired pathnames.
X-Git-Tag: cronie1.3~11
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68c7f3ef9c8f7ada0983faa5cda872d7b06f7daa;p=cronie

Clean hardwired pathnames.
---

diff --git a/src/pathnames.h b/src/pathnames.h
index 2ce322b..1577e3d 100644
--- a/src/pathnames.h
+++ b/src/pathnames.h
@@ -56,14 +56,6 @@
 #define	CRON_ALLOW	"/etc/cron.allow"
 #define	CRON_DENY	"/etc/cron.deny"
 
-			/* undefining this turns off logging to a file.  If
-			 * neither LOG_FILE or SYSLOG is defined, we don't log.
-			 * If both are defined, we log both ways.  Note that if
-			 * LOG_CRON is defined by <syslog.h>, LOG_FILE will not
-			 * be used.
-			 */
-/*#define LOG_FILE	"/var/log/cron"*/
-/*#define SYSLOG*/
 			/* where should the daemon stick its PID?
 			 * PIDDIR must end in '/'.
 			 */
@@ -90,10 +82,6 @@
 # define EDITOR "/usr/ucb/vi"
 #endif
 
-#ifndef _PATH_SENDMAIL
-# define _PATH_SENDMAIL "/usr/lib/sendmail"
-#endif
-
 #ifndef _PATH_BSHELL
 # define _PATH_BSHELL "/bin/sh"
 #endif