1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

*** empty log message ***

This commit is contained in:
Thomas Bushnell, BSG
1996-08-16 20:42:32 +00:00
parent 2de99474c3
commit a057e7dcc7
3 changed files with 23 additions and 4 deletions

View File

@@ -51,6 +51,13 @@ DEFUN(socket, (domain, type, protocol),
err = __socket_create (server, type, protocol, &sock);
}
/* These errors all mean that the server node doesn't support the
socket.defs protocol, which we'll take to mean that the protocol
isn't supported. */
if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED
|| err == MIG_BAD_ID || err == EOPNOTSUPP)
err = EPFNOSUPPORT;
if (err)
return __hurd_fail (err);