Strange fstatat / stat behavour on directories causing tar "file changed as we read it" error

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Jan 11 17:55:00 GMT 2011


On 1/11/2011 4:54 AM, Corinna Vinschen wrote:

<snip>

> I can not reproduce the effect, at least not on W7, but apparently it
> happens on some systems.  So, given that the directory size is
> irrelevant for all practical purposes anyway, and given that there's no
> application which has problems with a directory size of 0, should Cygwin
> just always set st_size to 0 for directories?  Independent of the
> underlying FS?

That sounds reasonable to me.  It replicates what I see now anyway. ;-)

-- 
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list