1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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.
This commit is contained in:
Ulrich Drepper
1999-07-09 10:13:23 +00:00
parent bee1e289fa
commit 019e7a645a
5 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,8 @@
1999-07-09 Ulrich Drepper <drepper@cygnus.com>
* manager.c (pthread_handle_create): Free mmap region after stack
if clone failed. Patch by Kaz Kylheku <kaz@ashi.FootPrints.net>.
1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* man/pthread_cond_init.man: Correct example.

View File

@ -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;