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.16-ports-merge-531-g1e9d84c
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 25 Oct 2012 21:53:59 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-531-g1e9d84c
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 1e9d84cdbc46301a0d9e83f7044393f7d8139382 (commit)
from c0a1472e2272045d6520eb92f6a5438e2323b79b (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=1e9d84cdbc46301a0d9e83f7044393f7d8139382
commit 1e9d84cdbc46301a0d9e83f7044393f7d8139382
Author: Roland McGrath <roland@hack.frob.com>
Date: Thu Oct 25 14:49:28 2012 -0700
Use __getdents instead of __getdirentries in sparc __get_clockfreq_via_proc_openprom.
diff --git a/ChangeLog b/ChangeLog
index 2ce7d91..6656fa1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-10-25 Roland McGrath <roland@hack.frob.com>
+
+ * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
+ (__get_clockfreq_via_proc_openprom): Use __getdents instead of
+ __getdirentries.
+
2012-10-25 Joseph Myers <joseph@codesourcery.com>
Jim Blandy <jimb@codesourcery.com>
@@ -981,7 +987,7 @@
(__SWBLK_T_TYPE): Likewise.
2012-10-01 Patsy Franklin <pfrankli@redhat.com>
- Honza Horak <hhorak@redhat.com>
+ Honza Horak <hhorak@redhat.com>
* nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
(xdr_mapname): Use YPMAXMAP as maxsize.
@@ -1498,7 +1504,7 @@
2012-12-09 Allan McRae <allan@archlinux.org>
- * sysdeps/i386/fpu/libm-test-ulps: Update
+ * sysdeps/i386/fpu/libm-test-ulps: Update
2012-09-11 Joseph Myers <joseph@codesourcery.com>
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c b/sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
index 67ff77f..abd0ebf 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
@@ -91,11 +91,9 @@ __get_clockfreq_via_proc_openprom (void)
{
unsigned long int buf[4096 / sizeof (unsigned long int)];
struct dirent *dirp = (struct dirent *) buf;
- off_t dbase = (off_t) 0;
ssize_t len;
- while ((len = __getdirentries (obp_fd, (char *) dirp,
- sizeof (buf), &dbase)) > 0)
+ while ((len = __getdents (obp_fd, (char *) dirp, sizeof (buf))) > 0)
{
struct dirent *this_dirp = dirp;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 10 ++++++++--
.../unix/sysv/linux/sparc/sparc64/get_clockfreq.c | 4 +---
2 files changed, 9 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU C Library master sources