bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives


From: Paul Eggert
Subject: Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives
Date: Mon, 17 Dec 2007 15:37:00 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Radek Brich <address@hidden> writes:

> I also tried to make it look less alien in the rest of the code.

It's getting better, but can't we avoid the call to 'stat'?  It's
better to use fstat after the file is open, no?  That would avoid a
race condition.




reply via email to

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