As reported in PR other/52626, make check in fixincludes is currently failing since I neglected to adapt the baseline for the Solaris 8 removal ;-( I always meant to run make check, but forgot.
On the other hand, it would be really helpful if fixincludes make check could emit DejaGnu-style fixincludes.{sum, log} files which would automatically be picked up by make mail-report.log and make failures immediately obvious. The following patch fixes this, tested with make check in fixincludes on i386-pc-solaris2.11. Ok for mainline? Rainer 2012-03-21 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR other/52626 * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK] (PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.
# HG changeset patch # Parent aa297e98c9489d9734c7a503fc3275455c33985e Fix pthread.h failure (PR other/52626) diff --git a/fixincludes/tests/base/pthread.h b/fixincludes/tests/base/pthread.h --- a/fixincludes/tests/base/pthread.h +++ b/fixincludes/tests/base/pthread.h @@ -83,9 +83,9 @@ extern int __sigsetjmp (struct __jmp_buf #define PTHREAD_MUTEX_INITIALIZER {{{0},0}, {{{0}}}, {0}} #endif #if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) -#define PTHREAD_COND_INITIALIZER {{{0}, 0, 0x4356}, 0} /* DEFAULTCV */ +#define PTHREAD_COND_INITIALIZER {{{0}, 0}, 0} /* DEFAULTCV */ #else -#define PTHREAD_COND_INITIALIZER {{{0}, 0, 0x4356}, {0}} /* DEFAULTCV */ +#define PTHREAD_COND_INITIALIZER {{{0}, 0}, {0}} /* DEFAULTCV */ #endif #if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) #define PTHREAD_MUTEX_INITIALIZER /* = DEFAULTMUTEX */ \
-- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University