This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recent popen changes


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]