This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.25-378-gcfa9bb6


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  cfa9bb61cd09c40def96f042a3123ec0093c4ad0 (commit)
      from  4158ba082c641f407009363b186b4c85f8a01a35 (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=cfa9bb61cd09c40def96f042a3123ec0093c4ad0

commit cfa9bb61cd09c40def96f042a3123ec0093c4ad0
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu May 18 18:08:06 2017 +0200

    Use test-driver in nptl/tst-fork3.c

diff --git a/ChangeLog b/ChangeLog
index 859f582..1dc6d5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-31  Andreas Schwab  <schwab@suse.de>
+
+	* nptl/tst-fork3.c: Include <support/test-driver.c>.
+	(main): Rename to do_test and make static.
+
 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
 	* csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
diff --git a/nptl/tst-fork3.c b/nptl/tst-fork3.c
index 8fee264..33d93f2 100644
--- a/nptl/tst-fork3.c
+++ b/nptl/tst-fork3.c
@@ -87,8 +87,8 @@ tf1 (void *arg)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   initial_pid = getpid ();
 
@@ -104,3 +104,5 @@ main (void)
 
   return 1;
 }
+
+#include <support/test-driver.c>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    5 +++++
 nptl/tst-fork3.c |    6 ++++--
 2 files changed, 9 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]