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.15-155-gaf850b1
- From: rth at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 9 Feb 2012 19:23:14 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-155-gaf850b1
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 af850b1c978bdca648ef9fb141e785d75f74d9bf (commit)
via 57b957eb048c9b6aad52490ebe70d20a7c2b6caa (commit)
from e216c0121a715225802810af4a34daa3ac7b0605 (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=af850b1c978bdca648ef9fb141e785d75f74d9bf
commit af850b1c978bdca648ef9fb141e785d75f74d9bf
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Feb 9 11:21:47 2012 -0800
Use <> for include of kernel-features.h.
diff --git a/ChangeLog b/ChangeLog
index 8585e5a..5c1f46f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2012-02-09 Richard Henderson <rth@twiddle.net>
+ * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
+ of kernel-features.h.
+
* elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2012-02-08 Marek Polacek <polacek@redhat.com>
diff --git a/sysdeps/unix/sysv/linux/internal_statvfs.c b/sysdeps/unix/sysv/linux/internal_statvfs.c
index a0bad02..7cb3da1 100644
--- a/sysdeps/unix/sysv/linux/internal_statvfs.c
+++ b/sysdeps/unix/sysv/linux/internal_statvfs.c
@@ -29,7 +29,7 @@
#include <sys/statfs.h>
#include <sys/statvfs.h>
#include "linux_fsinfo.h"
-#include "kernel-features.h"
+#include <kernel-features.h>
/* Special internal-only bit value. */
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=57b957eb048c9b6aad52490ebe70d20a7c2b6caa
commit 57b957eb048c9b6aad52490ebe70d20a7c2b6caa
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Feb 9 11:20:27 2012 -0800
Avoid pointer type mismatch warning.
update_get_addr returns a link_map*, but the return expression
was of type char*. Fix by relying on gcc's void* arithmetic
extension and auto-conversion from void*.
diff --git a/ChangeLog b/ChangeLog
index 32f174d..8585e5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-09 Richard Henderson <rth@twiddle.net>
+
+ * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
+
2012-02-08 Marek Polacek <polacek@redhat.com>
* libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
diff --git a/elf/dl-tls.c b/elf/dl-tls.c
index 4358616..90f7a6d 100644
--- a/elf/dl-tls.c
+++ b/elf/dl-tls.c
@@ -756,7 +756,7 @@ update_get_addr (GET_ADDR_ARGS)
if (__builtin_expect (p == TLS_DTV_UNALLOCATED, 0))
return tls_get_addr_tail (GET_ADDR_PARAM, dtv, the_map);
- return (char *) p + GET_ADDR_OFFSET;
+ return (void *) p + GET_ADDR_OFFSET;
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
elf/dl-tls.c | 2 +-
sysdeps/unix/sysv/linux/internal_statvfs.c | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources