Hi!
> For the rt_sig* tests I have some changes in my internal tree to set 
> SIGSETSIZE depending on arch rather than to use the hardcoded value of 8 in 
> orderto fix mips failures. Please consider folding this change into your 
> proposal. I've submitted similar changes in a recent ppoll01 patch, and am 
> awaiting comments on correctness.
> 
> Ex)
> 
> +#if defined (__mips__)
> +#define SIGSETSIZE 16
> +#else
> +#define SIGSETSIZE 8
> +#endif
> 
> -TEST(syscall(__NR_rt_sigprocmask, SIG_BLOCK, &set, &oset,
>                                       8));
> +TEST(syscall(__NR_rt_sigprocmask, SIG_BLOCK, &set, &oset,
>                                       SIGSETSIZE));
> 

Well there is _SIGSET_NWORDS macro defined in my /usr/include/sigset/bits.h
header and it's defined as  (1024 / (8 * sizeof (unsigned long int). Anyway
this should be moved to some header in $LTPROOT/include/ or better we should
test for _SIGSET_NWORDS aviability in configure script.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to