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 ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature