From: Cyril H. <su...@li...> - 2013-05-14 09:21:15
|
The branch, master, has been updated via 023f90b37de31039c5059283e16920b3e42cb0e3 (commit) from 381456d98abb05b4354de20d9a056d444dce6834 (commit) - Log ----------------------------------------------------------------- commit 023f90b37de31039c5059283e16920b3e42cb0e3 Author: Jan Stancek <jst...@re...> Date: Tue May 14 10:53:33 2013 +0200 openposix/../pthread_cond_timedwait/2-7: alternativ goes out of scope "alternativ" goes out of scope, "td", which points to it is used later in pthread_mutex_init(). Signed-off-by: Jan Stancek <jst...@re...> ----------------------------------------------------------------------- Summary of changes: .../interfaces/pthread_cond_timedwait/2-7.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-7.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-7.c index 83e18ae..28c977e 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-7.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/2-7.c @@ -258,6 +258,7 @@ int main(void) pthread_condattr_t ca; testdata_t *td; + testdata_t alternativ; int do_fork; @@ -300,7 +301,6 @@ int main(void) */ if (mf < 0) { /* Cannot mmap a file, we use an alternative method */ - testdata_t alternativ; td = &alternativ; pshared = -1; /* We won't do this testing anyway */ #if VERBOSE > 0 hooks/post-receive -- ltp |