Elliott Hughes fb5e5cbdd4 Fix an off-by-one error in the sigset_t function error handling.
Spotted while running the tests on MIPS, where sigset_t is
actually large enough. The bits in sigset_t are used such that
signal 1 is represented by bit 0, so the range of signals is
actually [1, 8*sizeof(sigset_t)]; it seems clearer to reword
the code in terms of valid bit offsets [0, 8*sizeof(sigset_t)),
which leads to the usual bounds checking idiom.

Change-Id: Id899c288e15ff71c85dd2fd33c47f8e97aa1956f
2013-01-07 13:58:49 -08:00
..
2010-12-06 12:05:11 +01:00
2011-09-28 12:17:34 -07:00
2012-02-29 18:43:51 -08:00
2010-01-15 15:57:02 -08:00
2012-08-29 12:47:41 -07:00
2010-01-15 15:57:02 -08:00
2012-09-13 16:54:57 -07:00
2009-03-03 19:28:35 -08:00
2012-08-20 14:12:20 -07:00
2010-01-15 15:57:02 -08:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:01:44 -08:00
2010-06-11 14:39:39 -07:00
2012-09-04 14:11:28 +02:00
2012-09-03 01:38:34 +03:00