Strange fstatat / stat behavour on directories causing tar "file changed as we read it" error
Eric Blake
eblake@redhat.com
Tue Jan 11 15:46:00 GMT 2011
On 01/11/2011 02:54 AM, Corinna Vinschen wrote:
> 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?
Always returning 0 size for all directories, regardless of FS, is
certainly the simplest workaround. I'd say go for it.
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110111/19c71459/attachment.sig>
More information about the Cygwin
mailing list