From 5adac0e439e09c9c078d791a0feb317628063acf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 16 Apr 2004 23:49:58 +0000 Subject: Update. * rt/tst-mqueue6.c (mqsend): Don't inline. (mqrecv): Likewise. --- nptl/allocatestack.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nptl/allocatestack.c') 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 -- cgit v1.2.3