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


Reply via email to