mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 907512: Update NSPR to NSPR_4_10_1_BETA2.
This commit is contained in:
parent
d81936c648
commit
06ce771f6f
@ -1 +1 @@
|
|||||||
NSPR_4_10_1_BETA1
|
NSPR_4_10_1_BETA2
|
||||||
|
@ -10,4 +10,3 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#error "Do not include this header file."
|
#error "Do not include this header file."
|
||||||
|
|
||||||
|
@ -528,9 +528,6 @@ void _MD_unix_map_connect_error(int err)
|
|||||||
PRErrorCode prError;
|
PRErrorCode prError;
|
||||||
|
|
||||||
switch (err) {
|
switch (err) {
|
||||||
case EACCES:
|
|
||||||
prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
|
|
||||||
break;
|
|
||||||
#if defined(UNIXWARE)
|
#if defined(UNIXWARE)
|
||||||
/*
|
/*
|
||||||
* On some platforms, if we connect to a port on the local host
|
* 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;
|
prError = PR_CONNECT_REFUSED_ERROR;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
case ELOOP:
|
|
||||||
prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
|
|
||||||
break;
|
|
||||||
case ENOENT:
|
|
||||||
prError = PR_ADDRESS_NOT_SUPPORTED_ERROR;
|
|
||||||
break;
|
|
||||||
case ENXIO:
|
case ENXIO:
|
||||||
prError = PR_IO_ERROR;
|
prError = PR_IO_ERROR;
|
||||||
break;
|
break;
|
||||||
@ -565,17 +556,6 @@ void _MD_unix_map_bind_error(int err)
|
|||||||
case EINVAL:
|
case EINVAL:
|
||||||
prError = PR_SOCKET_ADDRESS_IS_BOUND_ERROR;
|
prError = PR_SOCKET_ADDRESS_IS_BOUND_ERROR;
|
||||||
break;
|
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:
|
default:
|
||||||
_MD_unix_map_default_error(err);
|
_MD_unix_map_default_error(err);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user