unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these days
@ 2011-12-29 14:06 Daniel Colascione
  2012-04-10 23:26 ` Lars Magne Ingebrigtsen
  2012-04-11 11:44 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 17+ messages in thread
From: Daniel Colascione @ 2011-12-29 14:06 UTC (permalink / raw)
  To: 10398

In Cygwin 1.7, vfork is an alias for fork.  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.
---
 src/s/cygwin.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index 8f5a0ab..e025e46 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -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
-- 
1.7.5.1






^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-04-12 12:21 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-29 14:06 bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these days Daniel Colascione
2012-04-10 23:26 ` Lars Magne Ingebrigtsen
2012-04-11  6:47   ` Chong Yidong
2012-04-11  6:58   ` Eli Zaretskii
2012-04-11 11:15     ` Ken Brown
2012-04-11 11:39       ` Eli Zaretskii
2012-04-11 12:35         ` Ken Brown
2012-04-11 19:26           ` Eli Zaretskii
2012-04-12  2:51             ` Ken Brown
2012-04-12  4:53               ` Glenn Morris
2012-04-12  6:00               ` Eli Zaretskii
2012-04-12  7:40               ` Andreas Schwab
2012-04-12 12:21                 ` Ken Brown
2012-04-11 17:48       ` Drew Adams
2012-04-11 19:37         ` Ken Brown
2012-04-11 20:04           ` Drew Adams
2012-04-11 11:44 ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).