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.13-106-g018b9e3
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 5 May 2011 11:40:09 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.13-106-g018b9e3
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 018b9e368d5c0ae76a6df02ba5ebaeac97363570 (commit)
via 4e34d5f58955ddfc174b20ae0e5081bb1db983be (commit)
from 00ee369c1cbdcc4ca4a009e9223799951c6c8f04 (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=018b9e368d5c0ae76a6df02ba5ebaeac97363570
commit 018b9e368d5c0ae76a6df02ba5ebaeac97363570
Author: Ulrich Drepper <drepper@gmail.com>
Date: Thu May 5 07:39:34 2011 -0400
Explain header situation after RPC removal in NEWS
diff --git a/NEWS b/NEWS
index 2750e85..583136a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes. 2011-5-2
+GNU C Library NEWS -- history of user-visible changes. 2011-5-5
Copyright (C) 1992-2009, 2010, 2011 Free Software Foundation, Inc.
See the end for copying conditions.
@@ -11,6 +11,11 @@ Version 2.14
but new programs cannot be linked with the routines in libc anymore.
Programs in need of RPC functionality must be linked against TI-RPC.
The TI-RPC implemtation is IPv6 enabled and there are other benefits.
+
+ Visible changes of this change include (obviously) the inability to link
+ programs using RPC functions without referencing the TI-RPC library, the
+ removal of the RPC headers from the glibc headers, and the lack of
+ symbols defined in <rpc/netdb.h> when <netdb.h> is installed.
Implemented by Ulrich Drepper.
* New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at,
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4e34d5f58955ddfc174b20ae0e5081bb1db983be
commit 4e34d5f58955ddfc174b20ae0e5081bb1db983be
Author: Andreas Schwab <schwab@redhat.com>
Date: Thu May 5 07:36:40 2011 -0400
Don't use removed rpc headers
diff --git a/ChangeLog b/ChangeLog
index e90eaa9..7f2e75c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-05 Andreas Schwab <schwab@redhat.com>
+
+ * resolv/netdb.h: Don't include <rpc/netdb.h>.
+ * nis/Makefile: Don't install rpcsvc/*.
+ * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
+ instead of <rpc/types.h>.
+ (MAXHOSTNAMELEN): Define.
+
2011-05-03 Andreas Schwab <schwab@redhat.com>
* elf/ldconfig.c (add_dir): Don't crash on empty path.
diff --git a/inet/protocols/timed.h b/inet/protocols/timed.h
index 4345bed..b5d4702 100644
--- a/inet/protocols/timed.h
+++ b/inet/protocols/timed.h
@@ -32,7 +32,8 @@
#ifndef _PROTOCOLS_TIMED_H
#define _PROTOCOLS_TIMED_H 1
-#include <rpc/types.h>
+#include <sys/types.h>
+#include <sys/time.h>
/*
* Time Synchronization Protocol
@@ -40,6 +41,7 @@
#define TSPVERSION 1
#define ANYADDR NULL
+#define MAXHOSTNAMELEN 64
struct tsp {
u_char tsp_type;
diff --git a/nis/Makefile b/nis/Makefile
index f63ada6..e7e5f0c 100644
--- a/nis/Makefile
+++ b/nis/Makefile
@@ -23,9 +23,9 @@ subdir := nis
aux := nis_hash
-headers := $(wildcard rpcsvc/*.[hx])
distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \
- nisplus-parser.h nis_xdr.h nss
+ nisplus-parser.h nis_xdr.h nss \
+ $(wildcard rpcsvc/*.[hx])
# These are the databases available for the nis (and perhaps later nisplus)
# service. This must be a superset of the services in nss.
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 6b76a25..b70639b 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -27,11 +27,6 @@
#include <netinet/in.h>
#include <stdint.h>
-#ifdef __USE_MISC
-/* This is necessary to make this include file properly replace the
- Sun version. */
-# include <rpc/netdb.h>
-#endif
#ifdef __USE_GNU
# define __need_sigevent_t
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
NEWS | 7 ++++++-
inet/protocols/timed.h | 4 +++-
nis/Makefile | 4 ++--
resolv/netdb.h | 5 -----
5 files changed, 19 insertions(+), 9 deletions(-)
hooks/post-receive
--
GNU C Library master sources