[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r4963 - in /fsf/trunk/libc: ChangeLog hurd/hurdsock.c sunrpc/bindrsvprt.c



Author: eglibc
Date: Mon Jan 21 00:22:48 2008
New Revision: 4963

Log:
Import glibc-mainline for 2008-01-21

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/hurd/hurdsock.c
    fsf/trunk/libc/sunrpc/bindrsvprt.c

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Mon Jan 21 00:22:48 2008
@@ -1,3 +1,9 @@
+2008-01-20  Samuel Thibault  <samuel.thibault@xxxxxxxxxxxx>
+
+	* hurd/hurdsock.c (_hurd_socket_server): Return the standard
+	error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT.
+	* sunrpc/bindrsvprt.c (bindresvport): Likewise.
+
 2007-10-23  Alexandre Oliva  <aoliva@xxxxxxxxxx>
 
 	* include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define.

Modified: fsf/trunk/libc/hurd/hurdsock.c
==============================================================================
--- fsf/trunk/libc/hurd/hurdsock.c (original)
+++ fsf/trunk/libc/hurd/hurdsock.c Mon Jan 21 00:22:48 2008
@@ -92,7 +92,7 @@
 
   if (server == MACH_PORT_NULL && errno == ENOENT)
     /* If the server node is absent, we don't support that protocol.  */
-    errno = EPFNOSUPPORT;
+    errno = EAFNOSUPPORT;
 
   __mutex_unlock (&lock);
   HURD_CRITICAL_END;

Modified: fsf/trunk/libc/sunrpc/bindrsvprt.c
==============================================================================
--- fsf/trunk/libc/sunrpc/bindrsvprt.c (original)
+++ fsf/trunk/libc/sunrpc/bindrsvprt.c Mon Jan 21 00:22:48 2008
@@ -61,7 +61,7 @@
     }
   else if (sin->sin_family != AF_INET)
     {
-      __set_errno (EPFNOSUPPORT);
+      __set_errno (EAFNOSUPPORT);
       return -1;
     }