diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-04-16 23:49:58 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-16 23:49:58 +0000 |
commit | 5adac0e439e09c9c078d791a0feb317628063acf (patch) | |
tree | 38816a490b1f629da3830f5e948f2e56203b4e04 /nptl/allocatestack.c | |
parent | edb4d496a81637e9232301fe89086f164327f74a (diff) | |
download | glibc-5adac0e439e09c9c078d791a0feb317628063acf.tar.gz glibc-5adac0e439e09c9c078d791a0feb317628063acf.tar.xz glibc-5adac0e439e09c9c078d791a0feb317628063acf.zip |
Update.
* rt/tst-mqueue6.c (mqsend): Don't inline. (mqrecv): Likewise.
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r-- | nptl/allocatestack.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c index 4b5af82f06..33fbbaa850 100644 --- a/nptl/allocatestack.c +++ b/nptl/allocatestack.c @@ -618,6 +618,10 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp, pd->guardsize = guardsize; } + /* The pthread_getattr_np() calls need to get passed the size + requested in the attribute, regardless of how large the + actually used guardsize is. */ + pd->reported_guardsize = guardsize; } #ifndef __ASSUME_CLONE_STOPPED |