This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hello,

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.

Attachment: path.cc.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]