]> git.eshelyaron.com Git - emacs.git/commitdiff
Use the real vfork under Cygwin
authorDaniel Colascione <dancol@dancol.org>
Wed, 11 Apr 2012 11:43:55 +0000 (13:43 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 11 Apr 2012 11:43:55 +0000 (13:43 +0200)
* 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.

Fixes: debbugs:10398
src/ChangeLog
src/s/cygwin.h

index 9fecec348702baccd49f59a92950472387ece576..a55189fb3c392c3f59c7c730b6cd23bf7c4945dd 100644 (file)
@@ -1,3 +1,9 @@
+2012-04-11  Daniel Colascione  <dancol@dancol.org>
+
+       * 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  <monnier@iro.umontreal.ca>
 
        * window.c (save_window_save): Obey window-point-insertion-type.
index 9a371829eaacc26a52e1755d057042417d3fdf92..70d64a50c4e308e38068f6eeee8a269ed3a9dbeb 100644 (file)
@@ -81,10 +81,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #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