[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #45476] cygwin: stderr redirect append does not work with native Wi
From: |
Eli Zaretskii |
Subject: |
[bug #45476] cygwin: stderr redirect append does not work with native Windows programs |
Date: |
Mon, 06 Jul 2015 19:38:06 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:39.0) Gecko/20100101 Firefox/39.0 |
Follow-up Comment #1, bug #45476 (project make):
> redirecting stderr in append mode does not work if the program being invoked
on a shell line is a native Windows executable. Instead of appending, the
stderr output is written to the top of the file, corrupting it. This happens
only if the 'make' process has its own stdout/err redirected to a pipe.
Isn't that an issue with how Cygwin libc implements invocation of
subprocesses? I'm guessing that the implementation of standard descriptors
inheritance uses Cygwin-specific hooks, and this works only if the subprocess
is a Cygwin program. If this guess is correct, what would you like Make do in
its upstream code to resolve this basic issue, which is really one aspect of
incompatibility between Cywgin and native Windows programs?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45476>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/