Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-05-19 00:27:49 +0400
committerChristopher Faylor <me@cgf.cx>2002-05-19 00:27:49 +0400
commit2701126aaf27767026307246d0085d4c2e00138d (patch)
tree98b230ac51dd900f0f8a7623fb520c2636e4bd95 /winsup/cygwin/path.cc
parent197f8077369499d4411d8e25628d3ea36da549ca (diff)
* path.cc (path_conv::check): Always set executable bit for executable
extension.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index ebf35713e..3c2be696f 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -787,7 +787,7 @@ out:
if (saw_symlinks)
set_has_symlinks ();
- if (!error && !(path_flags & (PATH_ALL_EXEC | PATH_NOTEXEC)))
+ if (!error && !(path_flags & PATH_ALL_EXEC))
{
const char *p = strchr (path, '\0') - 4;
if (p >= path &&