emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107868: Use the real vfork under


From: Lars Magne Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r107868: Use the real vfork under Cygwin
Date: Fri, 02 Nov 2012 02:02:22 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 107868
fixes bug: http://debbugs.gnu.org/10398
author: Daniel Colascione <address@hidden>
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Wed 2012-04-11 13:43:55 +0200
message:
  Use the real vfork under Cygwin
  
  * s/cygwin.h: The vfork the #define in cygwin.h was protecting
  against is gone.  It's better to use vfork now so that when Cygwin
  gains a new, working vfork, we use it automatically.
modified:
  src/ChangeLog
  src/s/cygwin.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-04-11 02:36:04 +0000
+++ b/src/ChangeLog     2012-04-11 11:43:55 +0000
@@ -1,3 +1,9 @@
+2012-04-11  Daniel Colascione  <address@hidden>
+
+       * s/cygwin.h: The vfork the #define in cygwin.h was protecting
+       against is gone.  It's better to use vfork now so that when Cygwin
+       gains a new, working vfork, we use it automatically (bug#10398).
+
 2012-04-11  Stefan Monnier  <address@hidden>
 
        * window.c (save_window_save): Obey window-point-insertion-type.

=== modified file 'src/s/cygwin.h'
--- a/src/s/cygwin.h    2012-01-19 07:21:25 +0000
+++ b/src/s/cygwin.h    2012-04-11 11:43:55 +0000
@@ -81,10 +81,6 @@
 
 #define HAVE_SOCKETS
 
-/* vfork() interacts badly with setsid(), causing ptys to fail to
-   change their controlling terminal */
-#define vfork fork
-
 /* This should work (at least when compiling with gcc).  But I have no way
    or intention to verify or even test it.  If you encounter a problem with
    it, feel free to change this setting, but please add a comment here about


reply via email to

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