bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tar doesn't handle short reads


From: Paul Eggert
Subject: Re: Tar doesn't handle short reads
Date: Wed, 5 Aug 2020 17:11:20 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 8/5/20 2:58 PM, Dominique Martinet wrote:
if the second read fails with EIO then at that point in the loop ret < 0
and full_read returns -1.

Are you looking at the same source code I am? There is no "ret < 0" in lib/full-write.c - at least, not in my copy of GNU Tar (I'm looking at current git as built via "./bootstrap").



reply via email to

[Prev in Thread] Current Thread [Next in Thread]