mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
a68ac6d3d3
I was confused creating the most recent nmh port patch and reverted the locking to "dot locking" as I'd thought that sendmail used that. Upon using the new 'inc' command and closer examination of sendmail, then mail.local, it looks like "flock" locking is more appropriate (to match mail.local's behavior). PR: 15674 Submitted by: maintainer
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
--- ../../../nmh-1.0.2-DIST/acconfig.h Thu Oct 21 11:58:09 1999
|
|
+++ ./acconfig.h Fri Dec 24 13:50:12 1999
|
|
@@ -22,10 +22,10 @@
|
|
* other programs which may modify your maildrops.
|
|
* Currently you can only use one type.
|
|
*/
|
|
-#define DOT_LOCKING 1
|
|
+/* #define DOT_LOCKING 1 */
|
|
/* #define FCNTL_LOCKING 1 */
|
|
/* #define LOCKF_LOCKING 1 */
|
|
-/* #define FLOCK_LOCKING 1 */
|
|
+#define FLOCK_LOCKING 1
|
|
|
|
/*
|
|
* If you have defined DOT_LOCKING, then the default is to
|
|
@@ -104,7 +104,7 @@
|
|
* The prefix which is prepended to the name of messages when they
|
|
* are "removed" by rmm. This should typically be `,' or `#'
|
|
*/
|
|
-#define BACKUP_PREFIX ","
|
|
+#define BACKUP_PREFIX "#"
|
|
|
|
/*
|
|
* Name of link to file to which you are replying.
|
|
@@ -128,11 +128,11 @@
|
|
/* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
|
|
#undef SVR4
|
|
/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody */
|
|
-#undef BSD44
|
|
+#define BSD44
|
|
|
|
/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody
|
|
* -- does PicoBSD have uname? :) */
|
|
-#undef BSD42
|
|
+#define BSD42
|
|
|
|
/* Defined for SCO5 */
|
|
#undef SCO_5_STDIO
|
|
@@ -231,7 +231,7 @@
|
|
* not world writable. There are no guarantees as to the safety of doing this,
|
|
* but this #define will add some extra security checks.
|
|
*/
|
|
-#undef MAILGROUP
|
|
+#define MAILGROUP
|
|
|
|
/* Define ruserpass as _ruserpass if your libraries have a bug *
|
|
* such that it can't find ruserpass, but can find _ruserpass. */
|