delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-ID: | <417073BA.5020200@x-ray.at> |
Date: | Sat, 16 Oct 2004 03:04:58 +0200 |
From: | Reini Urban <rurban AT x-ray DOT at> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927 |
MIME-Version: | 1.0 |
To: | Earl Chew <earl_chew AT agilent DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: [PATCH] gzip-1.3.5-1 fails to set stdout to binary mode |
References: | <4170710B DOT 70704 AT agilent DOT com> |
In-Reply-To: | <4170710B.70704@agilent.com> |
X-IsSubscribed: | yes |
Earl Chew schrieb: > This patch duplicates the change in gzip-1.3.3-4 and is also mentioned > in: > > http://sources.redhat.com/ml/cygwin/1997-02/msg00204.html > > Earl > > --- tailor.h~ 2002-09-25 14:21:30.000000000 -0700 > +++ tailor.h 2004-10-15 17:42:50.229826500 -0700 > @@ -299,7 +299,11 @@ > #endif > > #ifndef SET_BINARY_MODE > +# ifdef __CYGWIN32__ > +# define SET_BINARY_MODE(fd) setmode(fd, O_BINARY) > +# else > # define SET_BINARY_MODE(fd) > +# endif > #endif > > #ifndef OPEN s/__CYGWIN32__/__CYGWIN__/ -- 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 |