summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbje <bje>1998-07-24 12:11:59 +0000
committerbje <bje>1998-07-24 12:11:59 +0000
commit2049e2d3f0bce851995dda72511996c14e51ac66 (patch)
tree45e6de7f878ef4a8b46fc6554067ac1834aeae1e
parente014e52e7c0bab89204339f0dc98c110ae48715b (diff)
Add caveat notice.
-rw-r--r--signal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index e0a41ca..d7ec7ae 100644
--- a/signal.c
+++ b/signal.c
@@ -36,6 +36,10 @@ pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
if (set != NULL)
{
int i;
+
+ /* FIXME: this code assumes that sigmask is an even multiple of
+ the size of a long integer. */
+
unsigned long *src = set;
unsigned long *dest = this->attr->sigmask;