This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: recent popen changes
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Dec 2006 00:40:03 -0500
- Subject: Re: recent popen changes
- References: <457E2438.5060005@byu.net>
- Reply-to: cygwin at cygwin dot com
On Mon, Dec 11, 2006 at 08:38:32PM -0700, Eric Blake wrote:
>Any reason that cygwin can't support popen("echo hi", "rb") to force
>binary pipe traffic, or conversely, popen("echo hi", "rt") to force
>text pipe traffic? True, POSIX states that any characters after the
>first can result in EINVAL, but now that cgf just rewrote popen to be
>more efficient, it would be nice to specify the binary mode up front
>rather than relying on CYGWIN=nobinmode or having to use setmode after
>the fact.
Sure, I could do that. I'll check in something tomorrow.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/