thread returns the program exits with an error code.
+2008-01-15 Ulrich Drepper <drepper@redhat.com>
+
+ * tst-eintr2.c (do_test): make sure that if mutex_lock in main
+ thread returns the program exits with an error code.
+
2008-01-10 Ulrich Drepper <drepper@redhat.com>
* pthread-errnos.sym: Add EOVERFLOW.
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
printf ("main: mutex_lock returned: %s\n",
strerror_r (e, buf, sizeof (buf)));
- return 0;
+ return 1;
}
#define EXPECTED_SIGNAL SIGALRM