diff options
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index e25c31144..1036feb2d 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -109,7 +109,7 @@ extern "C" /* impure_ptr */ &reent_data, }; bool ignore_case_with_glob = FALSE; - int __declspec (dllexport) _check_for_executable = FALSE; + int __declspec (dllexport) _check_for_executable = TRUE; #ifdef DEBUGGING int pinger = 0; #endif @@ -753,9 +753,6 @@ dll_crt0_1 () longjmp (fork_info->jmp, fork_info->cygpid); } - if (!CYGWIN_VERSION_CHECK_FOR_S_IEXEC) - _check_for_executable = TRUE; - #ifdef DEBUGGING { extern void fork_init (); |