* ntdll.h (STATUS_BAD_NETWORK_PATH): Define.

(STATUS_BAD_NETWORK_NAME): Define.
	* path.cc (symlink_info::check): Convert STATUS_BAD_NETWORK_PATH and
	STATUS_BAD_NETWORK_NAME into an immediate ENOENT.
This commit is contained in:
Corinna Vinschen
2010-06-02 14:52:34 +00:00
parent eeea1b8768
commit fad9568b0a
3 changed files with 11 additions and 0 deletions

View File

@@ -2379,6 +2379,8 @@ restart:
not tested here unless proved necessary. */
if (status == STATUS_OBJECT_PATH_NOT_FOUND
|| status == STATUS_OBJECT_NAME_INVALID
|| status == STATUS_BAD_NETWORK_PATH
|| status == STATUS_BAD_NETWORK_NAME
|| status == STATUS_NO_MEDIA_IN_DEVICE)
{
set_error (ENOENT);