Bug 907512: Update NSPR to NSPR_4_10_1_BETA2.

This commit is contained in:
Wan-Teh Chang 2013-08-23 12:22:47 -07:00
parent d81936c648
commit 06ce771f6f
3 changed files with 1 additions and 22 deletions

View File

@ -1 +1 @@
NSPR_4_10_1_BETA1
NSPR_4_10_1_BETA2

View File

@ -10,4 +10,3 @@
*/
#error "Do not include this header file."

View File

@ -528,9 +528,6 @@ void _MD_unix_map_connect_error(int err)
PRErrorCode prError;
switch (err) {
case EACCES:
prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
break;
#if defined(UNIXWARE)
/*
* On some platforms, if we connect to a port on the local host
@ -541,12 +538,6 @@ void _MD_unix_map_connect_error(int err)
prError = PR_CONNECT_REFUSED_ERROR;
break;
#endif
case ELOOP:
prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
break;
case ENOENT:
prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
break;
case ENXIO:
prError = PR_IO_ERROR;
break;
@ -565,17 +556,6 @@ void _MD_unix_map_bind_error(int err)
case EINVAL:
prError = PR_SOCKET_ADDRESS_IS_BOUND_ERROR;
break;
/*
* UNIX domain sockets are not supported in NSPR
*/
case EIO:
case EISDIR:
case ELOOP:
case ENOENT:
case ENOTDIR:
case EROFS:
prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
break;
default:
_MD_unix_map_default_error(err);
return;