Petr Salinger a écrit :
I have another one:

--- sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sigset.h~
+++ sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sigset.h
@@ -42,9 +42,9 @@
 # ifndef _EXTERN_INLINE
 #  define _EXTERN_INLINE extern __inline
 # endif
/* Return a mask that includes SIG only. */
-# define __sigmask(sig)        ((unsigned int) 1 << ((sig) - 1))
+# define __sigmask(sig)        ((unsigned int) 1 << ((sig) - 1) % 32)

 /* Return the word index for SIG.  */
 # define __sigword(sig)        (((sig) - 1) >> 5)


Fixed, thanks. However, I don't know which code use this definition and so may be buggy.

--
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to