delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/04/15:19:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Sun, 4 Aug 2002 15:19:06 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: debugging /usr/bin/info reading compressed files
Message-ID: <20020804191906.GA12734@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT CYG DOT 4 DOT 44 DOT 0208041133580 DOT 1260-100000 AT iocc DOT com>
Mime-Version: 1.0
In-Reply-To: <Pine.CYG.4.44.0208041133580.1260-100000@iocc.com>
User-Agent: Mutt/1.3.23.1i

On Sun, Aug 04, 2002 at 11:54:59AM -0500, Joshua Daniel Franklin wrote:
>I have tracked the reading-compressed-files problem down to the line
>
>  stream = popen (command, FOPEN_RBIN);
>
>which gets its definition of FOPEN_RBIN from ../lib/system.h.
>It is defining FOPEN_RBIN as "rb" instead of just "r", which causes
>the popen to fail with "Invalid argument". Setting it explicitly to
>"r" works correctly on both binary and text mounts.
>
>I'm not sure what needs to be done about this, but hopefully the
>texinfo package maintainer does.

This is a problem in newlib.  I've checked in a cygwin-specific patch to
fix this in newlib so this change will be fixed in the next snapshot
and, eventually, in cygwin-1.3.13.

FYI, the newlib patch is described here.

http://sources.redhat.com/ml/newlib/2002/msg00378.html

>By the way, I'd be willing to take over this package maintainence since
>I'm doing a lot of the other doc-related stuff.

Thanks but this is pretty much a no-brainer port.  It's no big deal to
maintain.

Btw, I've also uploaded a new version of the gzip package which creates
a gunzip.exe link rather than a gunzip (without the exe) link.  I needed
to do this to get info working correctly with gzipped files after testing
my change to newlib.

Thanks for tracking this down.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019