diff options
author | Christopher Faylor <me@cgf.cx> | 2005-04-20 04:06:25 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-04-20 04:06:25 +0000 |
commit | 5746f4b60228823e3690fe2b79158e291538dd99 (patch) | |
tree | efebf7ddb5cb6bdf3c554451311c88f131ec5760 | |
parent | 548468947268ce2fbadb3d77ff193a3058dee32b (diff) | |
download | cygnal-5746f4b60228823e3690fe2b79158e291538dd99.tar.gz cygnal-5746f4b60228823e3690fe2b79158e291538dd99.tar.bz2 cygnal-5746f4b60228823e3690fe2b79158e291538dd99.zip |
* path.cc (path_conv::check): Punt when attempting to access a nonexistent
directory or file in /proc.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 54bfc8df9..91ab04f87 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-04-20 Christopher Faylor <cgf@timesys.com> + + * path.cc (path_conv::check): Punt when attempting to access a + nonexistent directory or file in /proc. + 2005-04-19 Corinna Vinschen <corinna@vinschen.de> * security.cc (alloc_sd): Remove DELETE bit from user's ACE if diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 8c4f661d4..0baafb090 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -663,7 +663,8 @@ path_conv::check (const char *src, unsigned opt, break; default: fileattr = INVALID_FILE_ATTRIBUTES; - goto virtual_component_retry; + error = ENOENT; + break; } goto out; } |