[PATCH] path_conv::check - Do not check if a directory is executable

Pavel Tsekov ptsekov@syntrex.com
Tue Jun 4 02:51:00 GMT 2002


While I was browsing the fhandler_registry code and the *stat()
stuff it occured to me that this patch may be useful. I don't know
how it improves the speed of the path_conv::check (I don't think it
is a noticable improvement), but for sure it saves some cpu cycles.

2002-06-04  Pavel Tsekov  <ptsekov@gmx.net>

            * path.cc (path_conv::check): Do not check a directory
            path against a known list of executable file extensions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: path.cc.diff
Type: application/octet-stream
Size: 402 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020604/6bc29545/attachment.obj>

More information about the Cygwin-patches mailing list