X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
X-Mail-Handler: MailHop Outbound by DynDNS
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+8D0ZwBDpmoH9oYCXHBExs
Date: Mon, 12 Mar 2012 10:57:54 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Can't reliably redirect standard output from C# program in recent Cygwin
Message-ID: <20120312145754.GA19423@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <004e01ccfd70$c69af3f0$53d0dbd0$@motionview3d.com> <005c01ccfd79$6341f980$29c5ec80$@motionview3d.com> <loom.20120309T021648-138@post.gmane.org> <007201ccfe25$130065e0$390131a0$@motionview3d.com> <20120309195247.GB18960@calimero.vinschen.de> <20120311013339.GA32518@ednor.casa.cgf.cx> <00b701cd0059$25c26a80$71473f80$@motionview3d.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <00b701cd0059$25c26a80$71473f80$@motionview3d.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, Mar 12, 2012 at 02:05:13PM -0000, James Johnston wrote:
>You're partially correct, depending on how you look at it...  As I wrote
>earlier, I reproduced it with a straight Win32 program, too - by doing a
>null write that every C# program would do.  So I guess it's not specific to
>C#, since C++ programs can cause it too.  But every C# program would
>normally do this activity since the runtime always does the null write - so
>in that sense, I guess it is somewhat specific to C#. 
>
>Thanks all, good to know it should be fixed. :)

I'm not sure why you have translated "I am dubious that this has anything to
do with redirecting..." into "good to know that it should be fixed".

The problem with a windows pipe at the command prompt does not translate
to a C# (or C++ or Pascal) program running under (presumably) mintty.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

