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

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Thu, 29 Dec 2011 14:10:02 UTC

Severity: normal

Tags: patch

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10398 in the body.
You can then email your comments to 10398 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Thu, 29 Dec 2011 14:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Colascione <dancol <at> dancol.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 29 Dec 2011 14:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Colascione <dancol <at> dancol.org>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Use real vfork under Cygwin: it's fine these days
Date: Thu, 29 Dec 2011 06:06:05 -0800
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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Tue, 10 Apr 2012 23:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: 10398 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 01:26:56 +0200
Daniel Colascione <dancol <at> 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/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 06:49:01 GMT) Full text and rfc822 format available.

Message #11 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: Lars Magne Ingebrigtsen <larsi <at> gnus.org>,
	Daniel Colascione <dancol <at> dancol.org>, 10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 14:47:02 +0800
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> Daniel Colascione <dancol <at> 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?

Ken Brown is the Emacs maintainer for Cygwin.

Ken, any objection to the above proposed change?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 07:02:01 GMT) Full text and rfc822 format available.

Message #14 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>, Ken Brown <kbrown <at> cornell.edu>
Cc: 10398 <at> debbugs.gnu.org, dancol <at> dancol.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 09:58:16 +0300
> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Cc: 10398 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
> Date: Wed, 11 Apr 2012 01:26:56 +0200
> 
> Daniel Colascione <dancol <at> 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?

Not that _I_ am a Cygwin expert, but isn't it safer to do that only
for Cygwin 1.7 and later?  Ken, WDYT?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 11:18:01 GMT) Full text and rfc822 format available.

Message #17 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Ken Brown <kbrown <at> cornell.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Chong Yidong <cyd <at> stupidchicken.com>,
	Lars Magne Ingebrigtsen <larsi <at> gnus.org>, dancol <at> dancol.org,
	10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 07:15:46 -0400
On 4/11/2012 2:58 AM, Eli Zaretskii wrote:
>> From: Lars Magne Ingebrigtsen<larsi <at> gnus.org>
>> Cc: 10398 <at> debbugs.gnu.org, Eli Zaretskii<eliz <at> gnu.org>
>> Date: Wed, 11 Apr 2012 01:26:56 +0200
>>
>> Daniel Colascione<dancol <at> 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?
>
> Not that _I_ am a Cygwin expert, but isn't it safer to do that only
> for Cygwin 1.7 and later?  Ken, WDYT?

I think it's a good change.  And I don't think we should make an effort 
to support Cygwin versions earlier than 1.7.  Cygwin 1.5 is no longer 
supported by Cygwin, so I don't see a reason for emacs to try to support 
it.  I suspect there have been many emacs changes that are not 
compatible with Cygwin 1.5.

Ken





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 11:43:02 GMT) Full text and rfc822 format available.

Message #20 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: cyd <at> stupidchicken.com, larsi <at> gnus.org, dancol <at> dancol.org,
	10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 14:39:12 +0300
> Date: Wed, 11 Apr 2012 07:15:46 -0400
> From: Ken Brown <kbrown <at> cornell.edu>
> CC: Lars Magne Ingebrigtsen <larsi <at> gnus.org>, dancol <at> dancol.org,
>         10398 <at> debbugs.gnu.org, Chong Yidong <cyd <at> stupidchicken.com>
> 
> I don't think we should make an effort to support Cygwin versions
> earlier than 1.7.  Cygwin 1.5 is no longer supported by Cygwin, so I
> don't see a reason for emacs to try to support it.  I suspect there
> have been many emacs changes that are not compatible with Cygwin
> 1.5.

Fair enough, but then perhaps the configure script should at least
warn, or maybe even refuse to continue, if it sees an older version?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 11:46:02 GMT) Full text and rfc822 format available.

Message #23 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: 10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 13:44:24 +0200
Daniel Colascione <dancol <at> 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.

I've now applied your patch to the Emacs trunk.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 12:37:02 GMT) Full text and rfc822 format available.

Message #26 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Ken Brown <kbrown <at> cornell.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: cyd <at> stupidchicken.com, larsi <at> gnus.org, dancol <at> dancol.org,
	10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 08:35:02 -0400
On 4/11/2012 7:39 AM, Eli Zaretskii wrote:
>> Date: Wed, 11 Apr 2012 07:15:46 -0400
>> From: Ken Brown<kbrown <at> cornell.edu>
>> CC: Lars Magne Ingebrigtsen<larsi <at> gnus.org>, dancol <at> dancol.org,
>>          10398 <at> debbugs.gnu.org, Chong Yidong<cyd <at> stupidchicken.com>
>>
>> I don't think we should make an effort to support Cygwin versions
>> earlier than 1.7.  Cygwin 1.5 is no longer supported by Cygwin, so I
>> don't see a reason for emacs to try to support it.  I suspect there
>> have been many emacs changes that are not compatible with Cygwin
>> 1.5.
>
> Fair enough, but then perhaps the configure script should at least
> warn, or maybe even refuse to continue, if it sees an older version?

A warning would be fine, but I would suggest waiting until someone 
reports an actual problem.  My guess is that no one running Cygwin 1.5 
will ever try to build the emacs trunk.  But if someone does try and 
runs into problems, we can take the appropriate action.  If you 
disagree, I have no objection to inserting a warning now.

Ken




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 17:50:02 GMT) Full text and rfc822 format available.

Message #29 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Ken Brown'" <kbrown <at> cornell.edu>, "'Eli Zaretskii'" <eliz <at> gnu.org>
Cc: 10398 <at> debbugs.gnu.org, 'Lars Magne Ingebrigtsen' <larsi <at> gnus.org>
Subject: RE: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 10:48:09 -0700
> I think it's a good change.  And I don't think we should make 
> an effort to support Cygwin versions earlier than 1.7.
> Cygwin 1.5 is no longer supported by Cygwin, so I don't see
> a reason for emacs to try to support it.  I suspect there
> have been many emacs changes that are not compatible with
> Cygwin 1.5.

Dunno what is meant here by "support Cygwin", but FWIW (probably not much) I
still use Cygwin 1.5.  I do so because it seems to work OK for my use cases and
because I have come across lots of problems reported here and there wrt later
versions (and Emacs).

(Yes, I know, you can find whatever problems you want on the Internet, real or
wrong.  Still, why upgrade if I don't need to?)

I do not run Emacs inside Cygwin, but I use Cygwin's `grep' and other commands
from Emacs, and I use Cygwin's bash shell interactively.

I probably won't be upgrading Cygwin anytime soon unless I'm forced to.  But I'm
no doubt not your typical Cygwin user.  Just one data point to consider.  Or
not.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 19:31:01 GMT) Full text and rfc822 format available.

Message #32 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: cyd <at> stupidchicken.com, larsi <at> gnus.org, dancol <at> dancol.org,
	10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 22:26:58 +0300
> Date: Wed, 11 Apr 2012 08:35:02 -0400
> From: Ken Brown <kbrown <at> cornell.edu>
> CC: larsi <at> gnus.org, dancol <at> dancol.org, 10398 <at> debbugs.gnu.org,
>         cyd <at> stupidchicken.com
> 
> >> I don't think we should make an effort to support Cygwin versions
> >> earlier than 1.7.  Cygwin 1.5 is no longer supported by Cygwin, so I
> >> don't see a reason for emacs to try to support it.  I suspect there
> >> have been many emacs changes that are not compatible with Cygwin
> >> 1.5.
> >
> > Fair enough, but then perhaps the configure script should at least
> > warn, or maybe even refuse to continue, if it sees an older version?
> 
> A warning would be fine, but I would suggest waiting until someone 
> reports an actual problem.  My guess is that no one running Cygwin 1.5 
> will ever try to build the emacs trunk.  But if someone does try and 
> runs into problems, we can take the appropriate action.  If you 
> disagree, I have no objection to inserting a warning now.

I think we should put our money where our mouth is.  If we consider
Cygwin 1.5 unsupported, we should at least warn the prospective users
that they are building Emacs with unsupported tools.

So yes, I think we should insert a warning now.  Could you please make
such a change?  TIA.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 19:39:02 GMT) Full text and rfc822 format available.

Message #35 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Ken Brown <kbrown <at> cornell.edu>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 'Lars Magne Ingebrigtsen' <larsi <at> gnus.org>, 'Eli Zaretskii' <eliz <at> gnu.org>,
	10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 15:37:26 -0400
On 4/11/2012 1:48 PM, Drew Adams wrote:
>> I think it's a good change.  And I don't think we should make
>> an effort to support Cygwin versions earlier than 1.7.
>> Cygwin 1.5 is no longer supported by Cygwin, so I don't see
>> a reason for emacs to try to support it.  I suspect there
>> have been many emacs changes that are not compatible with
>> Cygwin 1.5.
>
> Dunno what is meant here by "support Cygwin", but FWIW (probably not much) I
> still use Cygwin 1.5.  I do so because it seems to work OK for my use cases and
> because I have come across lots of problems reported here and there wrt later
> versions (and Emacs).
>
> (Yes, I know, you can find whatever problems you want on the Internet, real or
> wrong.  Still, why upgrade if I don't need to?)
>
> I do not run Emacs inside Cygwin, but I use Cygwin's `grep' and other commands
> from Emacs, and I use Cygwin's bash shell interactively.

The change we're talking about here won't affect you.  It's only 
relevant to people working in Cygwin and building the Emacs trunk (for 
use within Cygwin).

Ken





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Wed, 11 Apr 2012 20:06:02 GMT) Full text and rfc822 format available.

Message #38 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Ken Brown'" <kbrown <at> cornell.edu>
Cc: 'Lars Magne Ingebrigtsen' <larsi <at> gnus.org>, 'Eli Zaretskii' <eliz <at> gnu.org>,
	10398 <at> debbugs.gnu.org
Subject: RE: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 13:04:15 -0700
> The change we're talking about here won't affect you.  It's only 
> relevant to people working in Cygwin and building the Emacs 
> trunk (for use within Cygwin).

Got it.  Sorry for the noise.  Thx.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Thu, 12 Apr 2012 02:54:01 GMT) Full text and rfc822 format available.

Message #41 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Ken Brown <kbrown <at> cornell.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: cyd <at> stupidchicken.com, larsi <at> gnus.org, dancol <at> dancol.org,
	10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Wed, 11 Apr 2012 22:51:45 -0400
On 4/11/2012 3:26 PM, Eli Zaretskii wrote:
> I think we should put our money where our mouth is.  If we consider
> Cygwin 1.5 unsupported, we should at least warn the prospective users
> that they are building Emacs with unsupported tools.
> 
> So yes, I think we should insert a warning now.  Could you please make
> such a change?  TIA.

How's this:

=== modified file 'configure.in'
--- configure.in        2012-04-02 04:38:31 +0000
+++ configure.in        2012-04-12 02:38:52 +0000
@@ -3805,6 +3805,14 @@
    echo
 fi

+if test "${opsys}" = "cygwin"; then
+   cygwin_rel=`uname -r|sed -e 's/\(^1\.[[579]]\)\..*/\1/'`
+   if test "${cygwin_rel}" = "1.5"; then
+      echo
+      echo "*** Warning: Building Emacs on Cygwin 1.5 is not supported."
+      echo
+   fi
+fi

 # Remove any trailing slashes in these variables.
 [test "${prefix}" != NONE &&

FYI, here's what the output of `uname -r' looks like on Cygwin:

$ uname -r
1.7.14s(0.260/5/3)





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Thu, 12 Apr 2012 04:56:02 GMT) Full text and rfc822 format available.

Message #44 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: larsi <at> gnus.org, Eli Zaretskii <eliz <at> gnu.org>, 10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Thu, 12 Apr 2012 00:53:55 -0400
Ken Brown wrote:

> +      echo
> +      echo "*** Warning: Building Emacs on Cygwin 1.5 is not supported."
> +      echo

I think AC_MSG_WARN is the standard way to do that kind of thing.
See eg the one for Gtk+ already in configure.in.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Thu, 12 Apr 2012 06:04:01 GMT) Full text and rfc822 format available.

Message #47 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: cyd <at> stupidchicken.com, larsi <at> gnus.org, dancol <at> dancol.org,
	10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Thu, 12 Apr 2012 09:00:39 +0300
> Date: Wed, 11 Apr 2012 22:51:45 -0400
> From: Ken Brown <kbrown <at> cornell.edu>
> CC: larsi <at> gnus.org, dancol <at> dancol.org, 10398 <at> debbugs.gnu.org,
>         cyd <at> stupidchicken.com
> 
> --- configure.in        2012-04-02 04:38:31 +0000
> +++ configure.in        2012-04-12 02:38:52 +0000
> @@ -3805,6 +3805,14 @@
>     echo
>  fi
> 
> +if test "${opsys}" = "cygwin"; then
> +   cygwin_rel=`uname -r|sed -e 's/\(^1\.[[579]]\)\..*/\1/'`
> +   if test "${cygwin_rel}" = "1.5"; then
> +      echo
> +      echo "*** Warning: Building Emacs on Cygwin 1.5 is not supported."
> +      echo
> +   fi
> +fi

The text of the warning looks good to me, thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10398; Package emacs. (Thu, 12 Apr 2012 07:42:01 GMT) Full text and rfc822 format available.

Message #50 received at 10398 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: larsi <at> gnus.org, Eli Zaretskii <eliz <at> gnu.org>, 10398 <at> debbugs.gnu.org
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Thu, 12 Apr 2012 09:40:00 +0200
Ken Brown <kbrown <at> cornell.edu> writes:

> +if test "${opsys}" = "cygwin"; then
> +   cygwin_rel=`uname -r|sed -e 's/\(^1\.[[579]]\)\..*/\1/'`

Why do you need the filter?

      case `uname -r` in 1.5.*) ...

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Reply sent to Ken Brown <kbrown <at> cornell.edu>:
You have taken responsibility. (Thu, 12 Apr 2012 12:23:01 GMT) Full text and rfc822 format available.

Notification sent to Daniel Colascione <dancol <at> dancol.org>:
bug acknowledged by developer. (Thu, 12 Apr 2012 12:23:01 GMT) Full text and rfc822 format available.

Message #55 received at 10398-done <at> debbugs.gnu.org (full text, mbox):

From: Ken Brown <kbrown <at> cornell.edu>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: larsi <at> gnus.org, Eli Zaretskii <eliz <at> gnu.org>, 10398-done <at> debbugs.gnu.org,
	Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#10398: [PATCH] Use real vfork under Cygwin: it's fine these
	days
Date: Thu, 12 Apr 2012 08:21:31 -0400
On 4/12/2012 3:40 AM, Andreas Schwab wrote:
> Ken Brown<kbrown <at> cornell.edu>  writes:
>
>> +if test "${opsys}" = "cygwin"; then
>> +   cygwin_rel=`uname -r|sed -e 's/\(^1\.[[579]]\)\..*/\1/'`
>
> Why do you need the filter?
>
>        case `uname -r` in 1.5.*) ...

Thanks.  And thanks to Glenn for telling me about AC_MSG_WARN.  I've 
committed the change to the trunk (bzr revision 107877), and I'm closing 
the bug.

Ken





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 11 May 2012 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.