aboutsummaryrefslogtreecommitdiff
path: root/nptl/allocatestack.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-16 23:49:58 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-16 23:49:58 +0000
commit5adac0e439e09c9c078d791a0feb317628063acf (patch)
tree38816a490b1f629da3830f5e948f2e56203b4e04 /nptl/allocatestack.c
parentedb4d496a81637e9232301fe89086f164327f74a (diff)
downloadglibc-5adac0e439e09c9c078d791a0feb317628063acf.zip
glibc-5adac0e439e09c9c078d791a0feb317628063acf.tar.gz
glibc-5adac0e439e09c9c078d791a0feb317628063acf.tar.bz2
Update.
* rt/tst-mqueue6.c (mqsend): Don't inline. (mqrecv): Likewise.
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r--nptl/allocatestack.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index 4b5af82..33fbbaa 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