char *sbackup = BACKUP_PREFIX;
-char *lockmethod =
-#if defined FCNTL_LOCKING
- "fcntl"
-#elif defined FLOCK_LOCKING
- "flock"
-#elif defined LOCKF_LOCKING
- "lockf"
-#elif defined DOT_LOCKING
- "dot"
-#else
- "none"
-#endif
- ;
+char *datalocking = "fcntl";
+
+extern char *spoollocking;
char *sasl =
#ifdef CYRUS_SASL
{ "etcdir", &mhetcdir },
{ "libdir", &mhlibdir },
{ "sbackup", &sbackup },
- { "lockmethod", &lockmethod },
+ { "datalocking", &datalocking },
+ { "spoollocking", &spoollocking },
{ "sasl", &sasl },
{ "tls", &tls },
{ NULL, NULL },
} else if (debug) {
struct proc *ps;
+ /* Need to see if datalocking was set in profile. */
+ if ((cp = context_find("datalocking"))) { datalocking = cp; }
+
/*
* Print the current value of everything in
* procs array. This will show their current
missed++;
}
}
-
+
done (missed);
return 1;
}