From 503ffb1e8bdc9edfa0d9c6b0b8da881a7929fa4c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 15 Nov 1994 00:02:47 +0000 Subject: [PATCH] (MAIL_USE_FLOCK): Defined. --- src/s/iris3-5.h | 2 +- src/s/iris3-6.h | 2 +- src/s/irix3-3.h | 2 +- src/s/irix5-0.h | 8 ++++++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/s/iris3-5.h b/src/s/iris3-5.h index d82bd732c7c..559f2b116c3 100644 --- a/src/s/iris3-5.h +++ b/src/s/iris3-5.h @@ -93,7 +93,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ The alternative is that a lock file named /usr/spool/mail/$USER.lock. */ -/* #define MAIL_USE_FLOCK */ +#define MAIL_USE_FLOCK /* Define CLASH_DETECTION if you want lock files to be written so that Emacs can tell instantly when you try to modify diff --git a/src/s/iris3-6.h b/src/s/iris3-6.h index 504560cd36b..fb3601a5b1a 100644 --- a/src/s/iris3-6.h +++ b/src/s/iris3-6.h @@ -93,7 +93,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ The alternative is that a lock file named /usr/spool/mail/$USER.lock. */ -/* #define MAIL_USE_FLOCK */ +#define MAIL_USE_FLOCK /* Define CLASH_DETECTION if you want lock files to be written so that Emacs can tell instantly when you try to modify diff --git a/src/s/irix3-3.h b/src/s/irix3-3.h index b34831e7c66..31cc18a3b5b 100644 --- a/src/s/irix3-3.h +++ b/src/s/irix3-3.h @@ -96,7 +96,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ The alternative is that a lock file named /usr/spool/mail/$USER.lock. */ -/* #define MAIL_USE_FLOCK */ +#define MAIL_USE_FLOCK /* Define CLASH_DETECTION if you want lock files to be written so that Emacs can tell instantly when you try to modify diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h index 10f2cfff688..9d3497c7cac 100644 --- a/src/s/irix5-0.h +++ b/src/s/irix5-0.h @@ -102,3 +102,11 @@ char *_getpty(); #ifdef __GNUC__ #define LD_SWITCH_SYSTEM -G 0 #endif + +/* define MAIL_USE_FLOCK if the mailer uses flock + to interlock access to /usr/spool/mail/$USER. + The alternative is that a lock file named + /usr/spool/mail/$USER.lock. */ + +#define MAIL_USE_FLOCK + -- 2.39.5