mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* path.cc (path_conv::path_conv): Only assume executability by suffix
on file systems not supporting permissions.
This commit is contained in:
parent
c4cb50b3a8
commit
3ae5cb32c5
@ -1,3 +1,8 @@
|
||||
2008-10-08 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* path.cc (path_conv::path_conv): Only assume executability by suffix
|
||||
on file systems not supporting permissions.
|
||||
|
||||
2008-10-07 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* pthread.cc (pthread_create): Very minor formatting change.
|
||||
|
@ -1248,7 +1248,8 @@ out:
|
||||
if (saw_symlinks)
|
||||
set_has_symlinks ();
|
||||
|
||||
if (!error && !isdir () && !(path_flags & PATH_ALL_EXEC))
|
||||
if (!error && !isdir () && !(path_flags & PATH_ALL_EXEC)
|
||||
&& !fs.has_acls () && !fs.is_nfs ())
|
||||
{
|
||||
const char *p = strchr (path, '\0') - 4;
|
||||
if (p >= path &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user