stat matters

Christopher Faylor cgf@redhat.com
Fri May 30 03:04:00 GMT 2003


On Wed, May 28, 2003 at 11:33:29PM -0400, Christopher Faylor wrote:
>>2) There is a comment in fhandler_disk_file::fstat to the effect that a 
>>   "query open" is much faster than a normal open.
>>   So, why don't we do a query open when possible, i.e. also for dirs, sockets,
>>   symlinks, and more importantly, whenever has_acls(), ntsec and
>>   wincap.has_security () are true?
>
>This is supposed to be caught for anything which opens a file like
>sockets or symlinks.  The other cases are not caught, though.  I'll add
>something to path.cc to handle this.

Which I've done.

This patch pulled over some other ongoing work from my sandbox but hopefully
it will be harmless.

cgf



More information about the Cygwin-developers mailing list