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-125-gca681b7
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Feb 2015 00:03:29 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.21-125-gca681b7
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 ca681b7b7b79bea3af62fe709df6594f3f5457e6 (commit)
from fd1f2f1c3de842b84a0ee9667c3172b2169f1b10 (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=ca681b7b7b79bea3af62fe709df6594f3f5457e6
commit ca681b7b7b79bea3af62fe709df6594f3f5457e6
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Feb 25 16:01:13 2015 -0800
Convert tst-iconv3 to use test-skeleton.
diff --git a/ChangeLog b/ChangeLog
index 0f2d1d9..dd590b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2015-02-25 Roland McGrath <roland@hack.frob.com>
+ * iconv/tst-iconv3.c (main): Converted to ...
+ (do_test): ... this.
+ (TEST_FUNCTION): New macro.
+ Include test-skeleton.c.
+
* iconv/tst-iconv5.c (testcode, number): Make variables static const.
(convert): Make function static.
(test_unalign): Likewise. Add const to argument pointee types.
diff --git a/iconv/tst-iconv3.c b/iconv/tst-iconv3.c
index f31c812..b06f75f 100644
--- a/iconv/tst-iconv3.c
+++ b/iconv/tst-iconv3.c
@@ -7,8 +7,8 @@
#define BUFSIZE 10000
-int
-main (int argc, char *argv[])
+static int
+do_test (void)
{
char inbuf[BUFSIZE];
wchar_t outbuf[BUFSIZE];
@@ -51,3 +51,6 @@ main (int argc, char *argv[])
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
iconv/tst-iconv3.c | 7 +++++--
2 files changed, 10 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources