[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gzip receives read error, gives up, unlinks source file
From: |
Paul Eggert |
Subject: |
Re: gzip receives read error, gives up, unlinks source file |
Date: |
28 Mar 2003 14:29:30 -0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3 |
Andrew Brown <address@hidden> writes:
> the attached patch checks that isize (the amount read in) is the same
> as st_size (from the struct stat information), and makes gzip react
> accordingly.
This doesn't sound quite right to me, as the file could have shrunk
during reading.
Which version of gzip were you using? As far as I can see, gzip
1.3.5 always tests for a read error immediately after reading, so
copy_stat shouldn't have to worry about the issue.