Use /var/spool instead of /usr/spool on linux
authorGiacomo Comes <comes@naic.edu>
Tue, 7 Jun 2016 08:52:58 +0000 (04:52 -0400)
committerJon Trulson <jon@radscan.com>
Wed, 8 Jun 2016 01:59:42 +0000 (19:59 -0600)
cde/programs/dtcm/server/log.h

index c93d5f10c88e85c86318dba91d39458ed9a196f2..551cad6db5af644891efc04f14d724124596fe93 100644 (file)
@@ -41,7 +41,7 @@
 #define _DtCMS_DEFAULT_BAK     ".calbak"
 #define _DtCMS_DEFAULT_TMP     ".caltmp"
 #define _DtCMS_DEFAULT_DEL     ".caldel"
-#if defined(CSRG_BASED)
+#if defined(CSRG_BASED) || defined (linux)
 #define        _DtCMS_DEFAULT_DIR      "/var/spool/calendar"
 #else
 #define        _DtCMS_DEFAULT_DIR      "/usr/spool/calendar"