This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.21-575-gb8a9183
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 8 Jul 2015 20:40:12 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.21-575-gb8a9183
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 b8a91836171f5722bd5bef6dc2e9ce263c897974 (commit)
from ccfa271f8be0f7c210713e043246b2ece75c2a87 (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=b8a91836171f5722bd5bef6dc2e9ce263c897974
commit b8a91836171f5722bd5bef6dc2e9ce263c897974
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Jul 8 13:38:50 2015 -0700
Install a dummy <rpc/netdb.h> when not building sunrpc/.
diff --git a/ChangeLog b/ChangeLog
index 6689220..c841daf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-08 Roland McGrath <roland@hack.frob.com>
+
+ * resolv/rpc/netdb.h: New file.
+ * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
+
2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
diff --git a/resolv/Makefile b/resolv/Makefile
index 3509d98..1dcb75f 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -72,6 +72,13 @@ xtests-special += $(objpfx)mtrace-tst-leaks2.out
endif
endif
+ifeq (,$(filter sunrpc,$(subdirs)))
+# The netdb.h we install does '#include <rpc/netdb.h>', so one must exist.
+# If sunrpc/ is built in this configuration, it installs a real <rpc/netdb.h>.
+# If that's not going to happen, install our dummy file.
+headers += rpc/netdb.h
+endif
+
generated += mtrace-tst-leaks.out tst-leaks.mtrace \
mtrace-tst-leaks2.out tst-leaks2.mtrace
diff --git a/resolv/rpc/netdb.h b/resolv/rpc/netdb.h
new file mode 100644
index 0000000..eecea3c
--- /dev/null
+++ b/resolv/rpc/netdb.h
@@ -0,0 +1,3 @@
+/* This is a dummy file for <rpc/netdb.h>, which is included by <netdb.h>.
+ This file is installed when the C library does not support the SunRPC
+ interfaces (including 'struct rpcent' et al) at all. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
resolv/Makefile | 7 +++++++
resolv/rpc/netdb.h | 3 +++
3 files changed, 15 insertions(+), 0 deletions(-)
create mode 100644 resolv/rpc/netdb.h
hooks/post-receive
--
GNU C Library master sources