(allocate_stack): Store the exact stack size of user allocated stacks.

This commit is contained in:
Ulrich Drepper 2003-03-16 01:39:10 +00:00
parent 638bb1f394
commit 580088c900
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
/* Remember the stack-related values. */
pd->stackblock = (char *) attr->stackaddr - size;
pd->stackblock_size = size - adj;
pd->stackblock_size = size;
/* This is a user-provided stack. It will not be queued in the
stack cache nor will the memory (except the TLS memory) be freed. */