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-141-gc7b19ca
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 27 Feb 2015 23:55:16 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.21-141-gc7b19ca
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 c7b19ca99a410e9f2b82b9b3494c12c9a5da32db (commit)
from ef4ad06fe5a615af9550d74b1b6d546b9dc0a64d (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=c7b19ca99a410e9f2b82b9b3494c12c9a5da32db
commit c7b19ca99a410e9f2b82b9b3494c12c9a5da32db
Author: Roland McGrath <roland@hack.frob.com>
Date: Fri Feb 27 15:21:03 2015 -0800
Convert dlfcn/tststatic2 to use test-skeleton.
diff --git a/ChangeLog b/ChangeLog
index 1ac6609..0b5c27d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-27 Roland McGrath <roland@hack.frob.com>
+
+ * dlfcn/tststatic2.c (main): Converted to ...
+ (do_test): ... this.
+ (TEST_FUNCTION): New macro.
+ Include test-skeleton.c.
+
2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
[BZ #17711]
diff --git a/dlfcn/tststatic2.c b/dlfcn/tststatic2.c
index 5d273a6..f8cd5a9 100644
--- a/dlfcn/tststatic2.c
+++ b/dlfcn/tststatic2.c
@@ -5,8 +5,8 @@
#include <string.h>
#include <gnu/lib-names.h>
-int
-main (void)
+static int
+do_test (void)
{
void *handle = dlopen ("modstatic2-nonexistent.so", RTLD_LAZY);
if (handle == NULL)
@@ -162,3 +162,6 @@ main (void)
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
dlfcn/tststatic2.c | 7 +++++--
2 files changed, 12 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources