diff options
author | rpj <rpj> | 1998-07-24 13:16:45 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-07-24 13:16:45 +0000 |
commit | c913bfb2e2ef13f3ef7bdf08421d88a62ac489a3 (patch) | |
tree | 91df8f5290ab0eb203149690eb5ff83330c70f23 | |
parent | 0fe7499bdd8c621df2aee754005f1e457935362f (diff) |
Fri Jul 24 23:09:33 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* create.c (pthread_create): Change . to -> in sigmask memcpy() args.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | create.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ Fri Jul 24 23:09:33 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au> + * create.c (pthread_create): Change . to -> in sigmask memcpy() args. + * pthread.h: (pthread_cancel): Add function prototype. (pthread_testcancel): Ditto. @@ -92,7 +92,7 @@ pthread_create(pthread_t *thread, attr_copy->priority = attr->priority; #if HAVE_SIGSET_T - memcpy(attr_copy.sigmask, attr.sigmask, sizeof(sigset_t)); + memcpy(attr_copy->sigmask, attr->sigmask, sizeof(sigset_t)); #endif /* HAVE_SIGSET_T */ } |