* path.cc (symlink_info::check): Return with error set to ENOENT if
STATUS_NO_MEDIA_IN_DEVICE is returned.
This commit is contained in:
parent
71f53a2f62
commit
590f450aa9
|
@ -1,3 +1,8 @@
|
||||||
|
2009-06-08 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* path.cc (symlink_info::check): Return with error set to ENOENT if
|
||||||
|
STATUS_NO_MEDIA_IN_DEVICE is returned.
|
||||||
|
|
||||||
2009-06-07 Christopher Faylor <me+cygwin@cgf.cx>
|
2009-06-07 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* cygheap.h (mini_cygheap): New struct.
|
* cygheap.h (mini_cygheap): New struct.
|
||||||
|
|
|
@ -2268,7 +2268,8 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt,
|
||||||
error in get_nt_native_path. Both status codes are deliberately
|
error in get_nt_native_path. Both status codes are deliberately
|
||||||
not tested here unless proved necessary. */
|
not tested here unless proved necessary. */
|
||||||
if (status == STATUS_OBJECT_PATH_NOT_FOUND
|
if (status == STATUS_OBJECT_PATH_NOT_FOUND
|
||||||
|| status == STATUS_OBJECT_NAME_INVALID)
|
|| status == STATUS_OBJECT_NAME_INVALID
|
||||||
|
|| status == STATUS_NO_MEDIA_IN_DEVICE)
|
||||||
{
|
{
|
||||||
set_error (ENOENT);
|
set_error (ENOENT);
|
||||||
goto file_not_symlink;
|
goto file_not_symlink;
|
||||||
|
|
Loading…
Reference in New Issue