* path.cc (path_conv::check): Always set executable bit for executable

extension.
This commit is contained in:
Christopher Faylor
2002-05-18 20:27:49 +00:00
parent 197f807736
commit 2701126aaf
4 changed files with 10 additions and 3 deletions

View File

@@ -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 &&