* errno.cc (errmap): Set errno to ENOENT instead of ENOSHARE throughout.

* path.cc (path_conv::check): Set to and check for ENOENT instead of
	ENOSHARE.

	* path.cc (symlink_info::check): Fix Samba 3.2.x comment.
This commit is contained in:
Corinna Vinschen
2009-01-11 16:13:11 +00:00
parent 45cda16a7f
commit b98c66ee2c
3 changed files with 15 additions and 7 deletions

View File

@@ -36,8 +36,8 @@ static NO_COPY struct
X (ACTIVE_CONNECTIONS, EAGAIN),
X (ALREADY_EXISTS, EEXIST),
X (BAD_DEVICE, ENODEV),
X (BAD_NETPATH, ENOSHARE),
X (BAD_NET_NAME, ENOSHARE),
X (BAD_NETPATH, ENOENT),
X (BAD_NET_NAME, ENOENT),
X (BAD_PATHNAME, ENOENT),
X (BAD_PIPE, EINVAL),
X (BAD_UNIT, ENODEV),
@@ -92,7 +92,7 @@ static NO_COPY struct
X (MOD_NOT_FOUND, ENOENT),
X (MORE_DATA, EMSGSIZE),
X (NEGATIVE_SEEK, EINVAL),
X (NETNAME_DELETED, ENOSHARE),
X (NETNAME_DELETED, ENOENT),
X (NOACCESS, EFAULT),
X (NONPAGED_SYSTEM_RESOURCES, EAGAIN),
X (NONE_MAPPED, EINVAL),