This commit is contained in:
Glenn Morris 2012-08-08 09:01:28 -07:00
parent 08bb53058a
commit b33dcadbc2
2 changed files with 7 additions and 4 deletions

View file

@ -2709,6 +2709,9 @@ case "$opsys" in
;;
esac
dnl FIXME? If using FLOCK, also define MAIL_USE_SYSTEM_LOCK?
dnl Only win32 seems to use that.
dnl See comments in lib-src/movemail.c.
BLESSMAIL_TARGET=
case "$mail_lock" in
flock) AC_DEFINE(MAIL_USE_FLOCK, 1, [Define if the mailer uses flock to interlock the mail spool.]) ;;

View file

@ -300,10 +300,10 @@ main (int argc, char **argv)
which uses lock files for this purpose. Some systems use other methods.
If your system uses the `flock' system call for mail locking,
define MAIL_USE_SYSTEM_LOCK in config.h or the s-*.h file
and recompile movemail. If the s- file for your system
should define MAIL_USE_SYSTEM_LOCK but does not, send a bug report
to bug-gnu-emacs@prep.ai.mit.edu so we can fix it. */
define MAIL_USE_SYSTEM_LOCK in config.h and recompile movemail.
If your system type should always define MAIL_USE_SYSTEM_LOCK
but does not, send a bug report to bug-gnu-emacs@gnu.org so we
can change the default in configure. */
inname_len = strlen (inname);
lockname = xmalloc (inname_len + sizeof ".lock");