X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: MailHop Outbound by DynDNS X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/9rWjzEUf07wgq7BrsDmx4 Date: Fri, 27 Apr 2012 12:28:25 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping) Message-ID: <20120427162825.GE5625@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <020501cd23f2$20f07620$62d16260$@motionview3d.com> <20120427001718 DOT GA10533 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sat, Apr 28, 2012 at 12:11:35AM +0900, jojelino wrote: >On 2012-04-27 AM 9:17, Christopher Faylor wrote: >> There's no way that Cygwin could know to "skip" a call to WriteFile(). >> Cygwin doesn't interpose itself in the middle of a pipe. That would be >> truly disastrous. If it somehow looked at every pipe read/write rather >> than just allowing I/O to flow from one end to the other, the mailing >> list would be even more filled with people complaining that Cygwin is >> slow. >> >Maybe i can measure how much it slowed down after applying the >workaround of unworkable runtime of some non-free software. Thanks for the offer but that presupposes that I'd actually be willing to go to the effort of coding something up. I'm really not. cgf -- 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