[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Tar short read
From: |
Chuck Swiger |
Subject: |
Re: [Bug-tar] Tar short read |
Date: |
Tue, 27 Sep 2011 11:42:09 -0700 |
On Sep 27, 2011, at 11:35 AM, Andreas Dilger wrote:
>> SIGSTOP cannot be caught, blocked, or ignored. It is used only by
>> debuggers.
>
> Isn't it also used by Ctrl-Z in bash, and then "bg/fg" will send
> SIGCONT when it resumes.
Cntl-Z causes the shell to send SIGTSTP, not SIGSTOP.
> I'm on the side of Kevin, that it makes sense for tar to be robust
> in the face of a short read, despite what the spec might write.
And yes, I agree-- anything calling read() should pay attention to the return
and deal with a shorter read than requested if it wants to be robust and widely
portable.
Regards,
--
-Chuck
- Re: [Bug-tar] Tar short read, (continued)
- Re: [Bug-tar] Tar short read, Andreas Dilger, 2011/09/27
- Re: [Bug-tar] Tar short read, Andreas Dilger, 2011/09/27
- Re: [Bug-tar] Tar short read, Kevin Fox, 2011/09/27
- Re: [Bug-tar] Tar short read, Paul Eggert, 2011/09/28
- Re: [Bug-tar] Tar short read, Andreas Dilger, 2011/09/28
- Re: [Bug-tar] Tar short read, Paul Eggert, 2011/09/28
- Re: [Bug-tar] Tar short read, Sergey Poznyakoff, 2011/09/27
- Re: [Bug-tar] Tar short read, Andreas Dilger, 2011/09/27
- Re: [Bug-tar] Tar short read,
Chuck Swiger <=
- Re: [Bug-tar] Tar short read, Kevin Fox, 2011/09/27
- Re: [Bug-tar] Tar short read, Sergey Poznyakoff, 2011/09/27
- Re: [Bug-tar] Tar short read, Kevin Fox, 2011/09/27
- Re: [Bug-tar] Tar short read, Paul Eggert, 2011/09/27
- Re: [Bug-tar] Tar short read, Kevin Fox, 2011/09/27
- Re: [Bug-tar] Tar short read, Antonio Diaz Diaz, 2011/09/27
- Re: [Bug-tar] Tar short read, Sergey Poznyakoff, 2011/09/27
- Re: [Bug-tar] Tar short read, Sergey Poznyakoff, 2011/09/26
Re: [Bug-tar] Tar short read, Paul Eggert, 2011/09/26
Re: [Bug-tar] Tar short read, Tim Kientzle, 2011/09/27