mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
*** empty log message ***
Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and EOPNOTSUPP as indications that the server has died. * sysdeps/mach/hurd/pipe.c (__pipe): Likewise. * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
This commit is contained in:
parent
620ce2509a
commit
584de3b9d6
@ -1,3 +1,10 @@
|
||||
Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
|
||||
|
||||
* sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and
|
||||
EOPNOTSUPP as indications that the server has died.
|
||||
* sysdeps/mach/hurd/pipe.c (__pipe): Likewise.
|
||||
* sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
|
||||
|
||||
Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)
|
||||
|
||||
* strtol.c: Portability changes from Uli Drepper.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -40,7 +40,8 @@ DEFUN(socket, (domain, type, protocol),
|
||||
return -1;
|
||||
|
||||
err = __socket_create (server, type, protocol, &sock);
|
||||
if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED)
|
||||
if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED
|
||||
|| err == MIG_BAD_ID || err == EOPNOTSUPP)
|
||||
{
|
||||
/* On the first use of the socket server during the operation,
|
||||
allow for the old server port dying. */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1992, 1994 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -48,7 +48,8 @@ DEFUN(socketpair, (domain, type, protocol, fds),
|
||||
/* Create two sockets and connect them together. */
|
||||
|
||||
err = __socket_create (server, type, protocol, &sock1);
|
||||
if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED)
|
||||
if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED
|
||||
|| err == MIG_BAD_ID || err == EOPNOTSUPP)
|
||||
{
|
||||
/* On the first use of the socket server during the operation,
|
||||
allow for the old server port dying. */
|
||||
|
Loading…
Reference in New Issue
Block a user