recent popen changes

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Tue Dec 12 05:40:00 GMT 2006


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/



More information about the Cygwin mailing list