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.23-419-gb553747
- From: stli at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Jun 2016 09:04:57 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.23-419-gb553747
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 b5537473c2ccb6874985e3d2bc0a0c7e204213bd (commit)
from b9f5c3acc01a836369b9cbc3fc50ca550261a185 (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=b5537473c2ccb6874985e3d2bc0a0c7e204213bd
commit b5537473c2ccb6874985e3d2bc0a0c7e204213bd
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date: Mon Jun 6 11:03:04 2016 +0200
tst-rec-dlopen: Fix build fail due to missing inclusion of string.h
on S390, I get a compile error for dlfcn/tst-rec-dlopen.c:
tst-rec-dlopen.c: In function â??mallocâ??:
tst-rec-dlopen.c:101:4: error: implicit declaration of function â??strlenâ?? [-Werror=implicit-function-declaration]
(void) write (STDOUT_FILENO, message, strlen (message));
^
tst-rec-dlopen.c:101:42: error: incompatible implicit declaration of built-in function â??strlenâ?? [-Werror]
(void) write (STDOUT_FILENO, message, strlen (message));
^
tst-rec-dlopen.c:112:42: error: incompatible implicit declaration of built-in function â??strlenâ?? [-Werror]
(void) write (STDOUT_FILENO, message, strlen (message));
^
This patch adds the missing "#include <string.h>" for strlen.
ChangeLog:
* dlfcn/tst-rec-dlopen.c: Include string.h.
diff --git a/ChangeLog b/ChangeLog
index 84738f5..3cec387 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
+
+ * dlfcn/tst-rec-dlopen.c: Include string.h.
+
2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
* manual/install.texi: Remove mention of --without-tls
diff --git a/dlfcn/tst-rec-dlopen.c b/dlfcn/tst-rec-dlopen.c
index 07e0cc4..0269851 100644
--- a/dlfcn/tst-rec-dlopen.c
+++ b/dlfcn/tst-rec-dlopen.c
@@ -23,6 +23,7 @@
#include <stdalign.h>
#include <sys/mman.h>
#include <unistd.h>
+#include <string.h>
#define DSO "moddummy1.so"
#define FUNC "dummy1"
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
dlfcn/tst-rec-dlopen.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources