On Thu, Aug 12, 2010 at 1:16 AM, lina.zhao <[email protected]> wrote:
> Hi,
>
> In rt_sigprocmask01.c:
>
> TEST(syscall(__NR_rt_sigpending, &oset,
>                  SIGSETSIZE));
>              if (TEST_RETURN == -1) {
>                  tst_brkm(TFAIL|TTERRNO, cleanup,
>                      "rt_sigpending call failed");
>              }
>              TEST(sigismember(&oset, TEST_SIG));
>              if (TEST_RETURN == 0) {
>                  tst_brkm(TFAIL|TTERRNO,
>                      cleanup,
>                      "sigismember call failed");
>              }
>              /* call rt_sigprocmask() to unblock
>               * signal#TEST_SIG */
>              TEST(syscall(__NR_rt_sigprocmask,
>                  SIG_UNBLOCK, &set, &oset, 8));
>
> on most of the arch,the SIGSETSIZE is 8, but it is 16 for mips, so in
> sigprocmask,
> the last parameter should be SIGSETSIZE too, not 8.

Committed. Please provide a signed-off-by line next time.
Thanks,
-Garrett

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to