This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.26.9000-1200-g7c5b106


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  7c5b106dcbb10cf383ade30de14260f23a6ecfba (commit)
      from  28f6186f3e065ee9d46476e8e9f06135482ae17b (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7c5b106dcbb10cf383ade30de14260f23a6ecfba

commit 7c5b106dcbb10cf383ade30de14260f23a6ecfba
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jan 28 19:06:15 2018 +0100

    hurd: Fix getifaddrs / freeifaddrs exposition
    
    400669754de4 ('hurd: Fix nscd build') had the side effect of making
    libc's freeaddrinfo expose freeifaddrs through __check_pf.  We can just
    move the renames to gai.c itself, along others.
    
    * sysdeps/mach/hurd/check_pf.c (__getifaddrs, __freeifaddrs): Do not
    define macros.
    * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
    (__freeifaddrs): Define macro to freeifaddrs.

diff --git a/ChangeLog b/ChangeLog
index ae834cf..99e6689 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -51,6 +51,8 @@
 	* hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
 	* sysdeps/mach/hurd/check_native.c: New file.
 	* sysdeps/mach/hurd/check_pf.c: New file.
+	* nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
+	(__freeifaddrs): Define macro to freeifaddrs.
 	* sysdeps/mach/hurd/libhurduser.abilist: New file.
 	* sysdeps/mach/libmachuser.abilist: New file.
 	* libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
diff --git a/nscd/gai.c b/nscd/gai.c
index d00a184..d081747 100644
--- a/nscd/gai.c
+++ b/nscd/gai.c
@@ -31,6 +31,8 @@
 #define __qsort_r qsort_r
 /* nscd uses 1MB or 2MB thread stacks.  */
 #define __libc_use_alloca(size) (size <= __MAX_ALLOCA_CUTOFF)
+#define __getifaddrs getifaddrs
+#define __freeifaddrs freeifaddrs
 
 /* We are nscd, so we don't want to be talking to ourselves.  */
 #undef  USE_NSCD
diff --git a/sysdeps/mach/hurd/check_pf.c b/sysdeps/mach/hurd/check_pf.c
index 32cc283..edd99a7 100644
--- a/sysdeps/mach/hurd/check_pf.c
+++ b/sysdeps/mach/hurd/check_pf.c
@@ -1,3 +1 @@
-#define __getifaddrs getifaddrs
-#define __freeifaddrs freeifaddrs
 #include <inet/check_pf.c>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                    |    2 ++
 nscd/gai.c                   |    2 ++
 sysdeps/mach/hurd/check_pf.c |    2 --
 3 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]