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 14:41:55 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 8/5/20 11:47 AM, Nikos Tsipinakis wrote:
Can you elaborate? I can't find a code path that loses the errno.

full_read reads a partial block and then tries to read again. The second read fails with errno == EIO. full_read then returns the number of bytes successfully read, and the caller ignores errno.



reply via email to

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