Mail Archives: cygwin/2002/08/04/15:19:18
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 -