diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-07-09 10:13:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-07-09 10:13:23 +0000 |
commit | 019e7a645aa33eee4cb5098dc475a303d0e0512a (patch) | |
tree | ee004ff33b7f59e6799447786398ea64fc8e19fd /linuxthreads/manager.c | |
parent | bee1e289fafbf1d429f401eb4d7ea4be27282f17 (diff) | |
download | glibc-019e7a645aa33eee4cb5098dc475a303d0e0512a.tar.gz glibc-019e7a645aa33eee4cb5098dc475a303d0e0512a.tar.xz glibc-019e7a645aa33eee4cb5098dc475a303d0e0512a.zip |
Update.
1999-07-09 Andreas Schwab <schwab@suse.de> * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h. * dlfcn/Makefile (headers): Add bits/dlfcn.h.
Diffstat (limited to 'linuxthreads/manager.c')
-rw-r--r-- | linuxthreads/manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index f390aa13e8..f783bb1a13 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -379,10 +379,10 @@ static int pthread_handle_create(pthread_t *thread, const pthread_attr_t *attr, /* Free the stack if we allocated it */ if (attr == NULL || !attr->__stackaddr_set) { - munmap((caddr_t)((char *)(new_thread+1) - INITIAL_STACK_SIZE), - INITIAL_STACK_SIZE); if (new_thread->p_guardsize != 0) munmap(new_thread->p_guardaddr, new_thread->p_guardsize); + munmap((caddr_t)((char *)(new_thread+1) - INITIAL_STACK_SIZE), + INITIAL_STACK_SIZE); } __pthread_handles[sseg].h_descr = NULL; __pthread_handles[sseg].h_bottom = NULL; |