aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-08-08 09:01:28 -0700
committerGlenn Morris2012-08-08 09:01:28 -0700
commitb33dcadbc2bf13079309b2afbeaad6732796bd0a (patch)
tree8028e94a8e6cddf5332c70def2eccefee36102f5
parent08bb53058a69d78e0127bff5ca51db7ed8cb3f61 (diff)
downloademacs-b33dcadbc2bf13079309b2afbeaad6732796bd0a.tar.gz
emacs-b33dcadbc2bf13079309b2afbeaad6732796bd0a.zip
Comments
-rw-r--r--configure.ac3
-rw-r--r--lib-src/movemail.c8
2 files changed, 7 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 1741513d052..3fbea8c80ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2709,6 +2709,9 @@ case "$opsys" in
2709 ;; 2709 ;;
2710esac 2710esac
2711 2711
2712dnl FIXME? If using FLOCK, also define MAIL_USE_SYSTEM_LOCK?
2713dnl Only win32 seems to use that.
2714dnl See comments in lib-src/movemail.c.
2712BLESSMAIL_TARGET= 2715BLESSMAIL_TARGET=
2713case "$mail_lock" in 2716case "$mail_lock" in
2714 flock) AC_DEFINE(MAIL_USE_FLOCK, 1, [Define if the mailer uses flock to interlock the mail spool.]) ;; 2717 flock) AC_DEFINE(MAIL_USE_FLOCK, 1, [Define if the mailer uses flock to interlock the mail spool.]) ;;
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index c87d97778d1..c950d06f5d2 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -300,10 +300,10 @@ main (int argc, char **argv)
300 which uses lock files for this purpose. Some systems use other methods. 300 which uses lock files for this purpose. Some systems use other methods.
301 301
302 If your system uses the `flock' system call for mail locking, 302 If your system uses the `flock' system call for mail locking,
303 define MAIL_USE_SYSTEM_LOCK in config.h or the s-*.h file 303 define MAIL_USE_SYSTEM_LOCK in config.h and recompile movemail.
304 and recompile movemail. If the s- file for your system 304 If your system type should always define MAIL_USE_SYSTEM_LOCK
305 should define MAIL_USE_SYSTEM_LOCK but does not, send a bug report 305 but does not, send a bug report to bug-gnu-emacs@gnu.org so we
306 to bug-gnu-emacs@prep.ai.mit.edu so we can fix it. */ 306 can change the default in configure. */
307 307
308 inname_len = strlen (inname); 308 inname_len = strlen (inname);
309 lockname = xmalloc (inname_len + sizeof ".lock"); 309 lockname = xmalloc (inname_len + sizeof ".lock");