[Top][All Lists]

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

[Emacs-diffs] Changes to emacs/src/s/gnu-linux.h

From: Dave Love
Subject: [Emacs-diffs] Changes to emacs/src/s/gnu-linux.h
Date: Tue, 20 May 2003 12:27:58 -0400

Index: emacs/src/s/gnu-linux.h
diff -c emacs/src/s/gnu-linux.h:1.87 emacs/src/s/gnu-linux.h:1.88
*** emacs/src/s/gnu-linux.h:1.87        Fri Jan 24 07:22:01 2003
--- emacs/src/s/gnu-linux.h     Tue May 20 12:27:57 2003
*** 130,137 ****
--- 130,147 ----
  /* On GNU/Linux systems, both methods are used by various mail
     programs.  I assume that most people are using newer mailers that
     have heard of flock.  Change this if you need to. */
+ /* Debian contains a patch which says: ``On Debian/GNU/Linux systems,
+    configure gets the right answers, and that means *NOT* using flock.
+    Using flock is guaranteed to be the wrong thing. See Debian Policy
+    for details.'' and then uses `#ifdef DEBIAN'.  Unfortunately the
+    Debian maintainer hasn't provided a clean fix for Emacs.
+    movemail.c will use `maillock' when MAILDIR, HAVE_LIBMAIL and
+    HAVE_MAILLOCK_H are defined, so the following appears to be the
+    correct logic.  -- fx */
+ #if !(defined (HAVE_LIBMAIL) && defined (HAVE_MAILLOCK_H))
  #define MAIL_USE_FLOCK
+ #endif
  /* Define CLASH_DETECTION if you want lock files to be written
     so that Emacs can tell instantly when you try to modify

reply via email to

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