emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r109020: All the cool platforms suppo


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109020: All the cool platforms support CLASH_DETECTION...
Date: Wed, 11 Jul 2012 00:07:19 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109020
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2012-07-11 00:07:19 -0700
message:
  All the cool platforms support CLASH_DETECTION...
  
  * configure.ac (CLASH_DETECTION): Define unconditionally.
  Every platform using configure supports it.
  
  * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h:
  * src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/template.h:
  * src/s/usg5-4-common.h: Move CLASH_DETECTION to configure.
  
  * etc/PROBLEMS: Recommend customizing create-lockfiles rather than
  recompiling with CLASH_DETECTION unset.
modified:
  ChangeLog
  configure.ac
  etc/PROBLEMS
  src/ChangeLog
  src/s/aix4-2.h
  src/s/bsd-common.h
  src/s/cygwin.h
  src/s/darwin.h
  src/s/gnu-linux.h
  src/s/hpux10-20.h
  src/s/template.h
  src/s/usg5-4-common.h
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-07-11 07:05:21 +0000
+++ b/ChangeLog 2012-07-11 07:07:19 +0000
@@ -1,5 +1,7 @@
 2012-07-11  Glenn Morris  <address@hidden>
 
+       * configure.ac (CLASH_DETECTION): Define unconditionally.
+
        * configure.ac (opsysfile): Use bsd-common on gnu systems.
 
        * configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT):

=== modified file 'configure.ac'
--- a/configure.ac      2012-07-11 07:05:21 +0000
+++ b/configure.ac      2012-07-11 07:07:19 +0000
@@ -3124,6 +3124,14 @@
 dnl    AC_DEFINE(HAVE_TCATTR, 1, [Define to 1 if you have tcgetattr and 
tcsetattr.])
 dnl fi
 
+dnl Every platform that uses configure (ie every non-MS platform)
+dnl supports this.  There is a create-lockfiles option you can
+dnl customize if you do not want the lock files to be written.
+dnl So it is not clear that this #define still needs to exist.
+AC_DEFINE(CLASH_DETECTION, 1, [Define if you want lock files to be written,
+  so that Emacs can tell instantly when you try to modify a file that
+  someone else has modified in his/her Emacs.])
+
 case $opsys in
   darwin | gnu | hpux* | *bsd )
     AC_DEFINE(NO_TERMIO, 1, [Define if termio.h should not be included.])

=== modified file 'etc/PROBLEMS'
--- a/etc/PROBLEMS      2012-06-29 06:28:37 +0000
+++ b/etc/PROBLEMS      2012-07-11 07:07:19 +0000
@@ -1884,8 +1884,8 @@
 with +t bit, the directory owner becomes the owner of the symbolic
 link, so that it cannot be removed by anyone else.
 
-If you don't like those useless links, you can let Emacs not to using
-file lock by adding #undef CLASH_DETECTION to config.h.
+If you don't like those useless links, you can customize
+the option `create-lockfiles'.
 
 *** FreeBSD: Getting a Meta key on the console.
 

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-07-11 07:05:21 +0000
+++ b/src/ChangeLog     2012-07-11 07:07:19 +0000
@@ -1,5 +1,9 @@
 2012-07-11  Glenn Morris  <address@hidden>
 
+       * s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/darwin.h:
+       * s/gnu-linux.h, s/hpux10-20.h, s/template.h, s/usg5-4-common.h:
+       Move CLASH_DETECTION to configure.
+
        * s/gnu.h: Remove file, which is now empty.
 
        * s/gnu.h, s/gnu-linux.h:

=== modified file 'src/s/aix4-2.h'
--- a/src/s/aix4-2.h    2012-07-11 00:01:21 +0000
+++ b/src/s/aix4-2.h    2012-07-11 07:07:19 +0000
@@ -42,7 +42,6 @@
 
 /* Perry Smith <address@hidden> says these are correct.  */
 #define SIGNALS_VIA_CHARACTERS
-#define CLASH_DETECTION
 
 /* Perry Smith <address@hidden> says these are correct.  */
 #undef sigmask

=== modified file 'src/s/bsd-common.h'
--- a/src/s/bsd-common.h        2012-06-13 18:11:05 +0000
+++ b/src/s/bsd-common.h        2012-07-11 07:07:19 +0000
@@ -60,10 +60,5 @@
 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets.  */
 #define HAVE_SOCKETS
 
-/* Define CLASH_DETECTION if you want lock files to be written
-   so that Emacs can tell instantly when you try to modify
-   a file that someone else has modified in his Emacs.  */
-#define CLASH_DETECTION
-
 /* Send signals to subprocesses by "typing" special chars at them.  */
 #define SIGNALS_VIA_CHARACTERS

=== modified file 'src/s/cygwin.h'
--- a/src/s/cygwin.h    2012-07-10 07:37:17 +0000
+++ b/src/s/cygwin.h    2012-07-11 07:07:19 +0000
@@ -59,11 +59,6 @@
     }                                                  \
   while (0)
 
-/* Define CLASH_DETECTION if you want lock files to be written
-   so that Emacs can tell instantly when you try to modify
-   a file that someone else has modified in his Emacs.  */
-#define CLASH_DETECTION
-
 /* If the system's imake configuration file defines `NeedWidePrototypes'
    as `NO', we must define NARROWPROTO manually.  Such a define is
    generated in the Makefile generated by `xmkmf'.  If we don't

=== modified file 'src/s/darwin.h'
--- a/src/s/darwin.h    2012-07-11 02:29:13 +0000
+++ b/src/s/darwin.h    2012-07-11 07:07:19 +0000
@@ -83,11 +83,6 @@
    for process-connection-type dependent on the kernel version.  */
 #define MIN_PTY_KERNEL_VERSION '7'
 
-/* Define CLASH_DETECTION if you want lock files to be written
-   so that Emacs can tell instantly when you try to modify
-   a file that someone else has modified in his Emacs.  */
-#define CLASH_DETECTION
-
 /* Avoid the use of the name init_process (process.c) because it is
    also the name of a Mach system call.  */
 #define init_process emacs_init_process

=== modified file 'src/s/gnu-linux.h'
--- a/src/s/gnu-linux.h 2012-07-11 06:52:48 +0000
+++ b/src/s/gnu-linux.h 2012-07-11 07:07:19 +0000
@@ -80,11 +80,6 @@
 
 #define HAVE_SOCKETS
 
-/* Define CLASH_DETECTION if you want lock files to be written
-   so that Emacs can tell instantly when you try to modify
-   a file that someone else has modified in his Emacs.  */
-#define CLASH_DETECTION
-
 /* Here, on a separate page, add any special hacks needed
    to make Emacs work on this system.  For example,
    you might define certain system call names that don't

=== modified file 'src/s/hpux10-20.h'
--- a/src/s/hpux10-20.h 2012-07-11 05:57:03 +0000
+++ b/src/s/hpux10-20.h 2012-07-11 07:07:19 +0000
@@ -36,11 +36,6 @@
 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets.  */
 #define HAVE_SOCKETS
 
-/* Define CLASH_DETECTION if you want lock files to be written
-   so that Emacs can tell instantly when you try to modify
-   a file that someone else has modified in his Emacs.  */
-#define CLASH_DETECTION
-
 /* Special hacks needed to make Emacs run on this system.  */
 
 /* This is how to get the device name of the tty end of a pty.  */

=== modified file 'src/s/template.h'
--- a/src/s/template.h  2012-07-09 04:52:49 +0000
+++ b/src/s/template.h  2012-07-11 07:07:19 +0000
@@ -66,11 +66,6 @@
 
 /* #undef subprocesses */
 
-/* Define CLASH_DETECTION if you want lock files to be written
-   so that Emacs can tell instantly when you try to modify
-   a file that someone else has modified in his Emacs.  */
-#define CLASH_DETECTION
-
 /* If the character used to separate elements of the executable path
    is not ':', #define this to be the appropriate character constant.  */
 /* #define SEPCHAR ':' */

=== modified file 'src/s/usg5-4-common.h'
--- a/src/s/usg5-4-common.h     2012-06-13 18:11:05 +0000
+++ b/src/s/usg5-4-common.h     2012-07-11 07:07:19 +0000
@@ -51,9 +51,6 @@
    constant to dimension an array.  So wire in the appropriate value here.  */
 #define NSIG_MINIMUM 32
 
-/* We can support this.  */
-#define CLASH_DETECTION
-
 /* Define HAVE_PTYS if the system supports pty devices.  */
 #define HAVE_PTYS
 


reply via email to

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