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.12-55-g03e8755


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  03e87550e3be3d008b1eb6174d74d10a51af6e2e (commit)
      from  702e8f1450279f3e5dc22bf0935ee5ece4369fdb (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=03e87550e3be3d008b1eb6174d74d10a51af6e2e

commit 03e87550e3be3d008b1eb6174d74d10a51af6e2e
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sat Jul 3 14:05:02 2010 -0700

    Cleanup new tst-abstime program some more.

diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 80b9975..5a392ef 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-03  Ulrich Drepper  <drepper@redhat.com>
+
+	* tst-abstime.c (do_test): Some more cleanups
+
 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
 
 	* tst-abstime.c: Correct testing and add test for sem_timedwait.
diff --git a/nptl/tst-abstime.c b/nptl/tst-abstime.c
index eb8e8ac..50f35d5 100644
--- a/nptl/tst-abstime.c
+++ b/nptl/tst-abstime.c
@@ -77,7 +77,11 @@ do_test (void)
   pthread_rwlock_wrlock (&rw1);
   pthread_rwlock_rdlock (&rw2);
   pthread_mutex_lock (&m2);
-  pthread_create (&pth, 0, th, 0);
+  if (pthread_create (&pth, 0, th, 0) != 0)
+    {
+      puts ("cannot create thread");
+      return 1;
+    }
   r = pthread_cond_timedwait (&c, &m2, &t);
   if (r != ETIMEDOUT)
     {

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

Summary of changes:
 nptl/ChangeLog     |    4 ++++
 nptl/tst-abstime.c |    6 +++++-
 2 files changed, 9 insertions(+), 1 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]