This is the mail archive of the cygwin@sourceware.cygnus.com 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]

gzip stdin bug


I'm using gzip.exe from b17.1. I noticed that
    gzip -dc foo
typically works, whereas
    gzip -dc < foo
typically doesn't.
More precisely, the latter form only seems to work for very small files.
For large files it produces the message:
    stdin: unexpected end of input
At first glance the dividing line between "small" and "large" seems
situated around 512 bytes.

Is this a known problem?
(I remember seeing several postings on problems related to gzip, but
nothing really similar to this.)
If it is a known problem, is there a known solution?

Normally I can use "gzip -dc foo," but sometimes things are not under my
control. For instance, emacs, in auto-compress mode tries to execute
"gzip -c -q -d < foo".

Thanks in advance.

Fabio

-- 
Fabio Somenzi          | Phone: 303-492-3466
University of Colorado | Fax:   303-492-2758
ECE Dept.              | Email: Fabio@Colorado.EDU
Boulder CO 80309-0425  | WWW:   http://vlsi.colorado.edu/~fabio
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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