* errno.cc (errmap): Handle Windows error codes ERROR_CANCELLED,

ERROR_CONNECTION_REFUSED, ERROR_DEV_NOT_EXIST, ERROR_DS_GENERIC_ERROR,
	ERROR_NOT_ENOUGH_QUOTA, ERROR_SERVICE_REQUEST_TIMEOUT, ERROR_TIMEOUT,
	ERROR_UNEXP_NET_ERR.
	* ldap.cc (cyg_ldap::map_ldaperr_to_errno): Drop explicit LDAP_TIMEOUT
	handling.
This commit is contained in:
Corinna Vinschen
2014-06-25 09:59:38 +00:00
parent 37b1464588
commit 9b9fb0042f
3 changed files with 17 additions and 2 deletions

View File

@@ -89,8 +89,6 @@ cyg_ldap::map_ldaperr_to_errno (ULONG lerr)
is SO wrong, especially considering that LDAP_MORE_RESULTS_TO_RETURN
is mapped to ERROR_MORE_DATA as well :-P */
return ENMFILE;
case LDAP_TIMEOUT:
return EIO;
default:
break;
}