| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Tue, 12 Dec 2006 00:40:03 -0500 |
| From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: recent popen changes |
| Message-ID: | <20061212054003.GA8169@trixie.casa.cgf.cx> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <457E2438 DOT 5060005 AT byu DOT net> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <457E2438.5060005@byu.net> |
| User-Agent: | Mutt/1.5.11 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |