This commit is contained in:
Cary Sandvig 2001-01-09 00:22:30 +00:00
parent 7a678c3ae9
commit aa00622e56
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ is_directory() const {
////////////////////////////////////////////////////////////////////
bool Filename::
is_executable() const {
if (!exists()) {
if (exists()) {
#ifdef WIN32_VC
// no access() in windows, but to our advantage executables can only
// end in .exe or .com