mirror of
https://sourceware.org/git/glibc.git
synced 2025-05-19 05:53:43 +03:00
* tst-eintr2.c (do_test): make sure that if mutex_lock in main
thread returns the program exits with an error code.
This commit is contained in:
parent
ebca8f730e
commit
eaf95a2682
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2008-01-10 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* pthread-errnos.sym: Add EOVERFLOW.
|
* pthread-errnos.sym: Add EOVERFLOW.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003 Free Software Foundation, Inc.
|
/* Copyright (C) 2003, 2008 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ do_test (void)
|
|||||||
printf ("main: mutex_lock returned: %s\n",
|
printf ("main: mutex_lock returned: %s\n",
|
||||||
strerror_r (e, buf, sizeof (buf)));
|
strerror_r (e, buf, sizeof (buf)));
|
||||||
|
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define EXPECTED_SIGNAL SIGALRM
|
#define EXPECTED_SIGNAL SIGALRM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user