GNU C Library master sources branch, master, updated. glibc-2.15-94-g81c0c96
roland@sourceware.org
roland@sourceware.org
Mon Jan 23 21:57:00 GMT 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 81c0c9648d8bdaafde6e8e407dce90c21aa115e9 (commit)
from d220b1177777a2cd00d1b1eae62e1071a17ab46b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=81c0c9648d8bdaafde6e8e407dce90c21aa115e9
commit 81c0c9648d8bdaafde6e8e407dce90c21aa115e9
Author: Pino Toscano <toscano.pino@tiscali.it>
Date: Mon Jan 23 13:56:58 2012 -0800
Hurd: socket uses EAFNOSUPPORT rather than EPFNOSUPPORT.
diff --git a/ChangeLog b/ChangeLog
index f0f3017..759cd72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
+
+ * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
+ of the non-standard EPFNOSUPPORT.
+
2012-01-21 Ulrich Drepper <drepper@gmail.com>
* wcsmbs/uchar.h: Test __STDC_VERSION__.
diff --git a/sysdeps/mach/hurd/socket.c b/sysdeps/mach/hurd/socket.c
index a707ed9..3d9f5b0 100644
--- a/sysdeps/mach/hurd/socket.c
+++ b/sysdeps/mach/hurd/socket.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1992-1998,2012 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
@@ -57,7 +57,7 @@ __socket (domain, type, protocol)
isn't supported. */
if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED
|| err == MIG_BAD_ID || err == EOPNOTSUPP)
- err = EPFNOSUPPORT;
+ err = EAFNOSUPPORT;
if (err)
return __hurd_fail (err);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/mach/hurd/socket.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources
More information about the Glibc-cvs
mailing list