GNU bug report logs - #10466
MSYS problem with redirects

Previous Next

Package: automake;

Reported by: Peter Rosin <peda <at> lysator.liu.se>

Date: Mon, 9 Jan 2012 11:31:01 UTC

Severity: minor

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Peter Rosin <peda <at> lysator.liu.se>
Cc: 10466 <at> debbugs.gnu.org, automake-patches <at> gnu.org
Subject: Re: bug#10466: MSYS problem with redirects
Date: Fri, 27 Jan 2012 13:20:49 +0100
[Message part 1 (text/plain, inline)]
tags 10466 + patch
severity 10466 minor
thanks

On 01/16/2012 12:40 PM, Peter Rosin wrote:
> Sorry for the delay.
>
Ditto here :-)

> Stefano Lattarini skrev 2012-01-09 20:32:
>> On 01/09/2012 12:29 PM, Peter Rosin wrote:
>>> Hi!
>>>
>>> parallel-tests-fd-redirect.test fails on MSYS, and I think
>>> the cause is that the write (9, ...) simply doesn't work for
>>> MinGW programs (baz.exe and qux.test.exe).  It works for the
>>> shell scripts (foo.sh and bar) since /bin/sh is an MSYS
>>> program and thus is a lot more POSIXy.  But redirecting from
>>> the MinGW world to the MSYS world in this manner is simply
>>> not possible, I think.  I think that will only work for
>>> fd 0,1 and 2 (but I'm not 100% sure).
>>>
The attached patch should take care of the issue.  Can you confirm
this is actually the case, before I push it?

Thanks,
  Stefano
[0001-tests-work-around-MinGW-MSYS-issue-in-fd-redirection.patch (text/x-diff, attachment)]

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

Previous Next


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