bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LOG_DAEMON


From: John David Anglin
Subject: LOG_DAEMON
Date: Wed, 2 Jan 2002 18:02:14 -0500 (EST)

Some prehistoric versions of the syslog program don't support facility
codes.  This patch defines LOG_DAEMON to be zero in case it isn't defined.
This enables cvs 1.11.1p1 to build on vax-dec-ultrix4.3.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2002-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>

        * server.c (LOG_DAEMON): Define if undefined.

--- server.c.orig       Thu Apr 19 15:34:04 2001
+++ server.c    Wed Jan  2 15:19:00 2002
@@ -60,6 +60,9 @@
 
 #ifdef HAVE_SYSLOG_H
 #include <syslog.h>
+#ifndef LOG_DAEMON
+#define LOG_DAEMON 0
+#endif
 #endif
 
 #ifdef HAVE_KERBEROS



reply via email to

[Prev in Thread] Current Thread [Next in Thread]