bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these days


From: Lars Magne Ingebrigtsen
Subject: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these days
Date: Wed, 11 Apr 2012 01:26:56 +0200
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux)

Daniel Colascione <dancol@dancol.org> writes:

> 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.

[...]

> -/* vfork() interacts badly with setsid(), causing ptys to fail to
> -   change their controlling terminal */
> -#define vfork fork

Sounds sensible to me, but I'm no exactly (ahem) a Cygwin expert.

Eli, what do you think?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

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