+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.
+
1999-07-09 Ulrich Drepper <drepper@cygnus.com>
* hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
# Boston, MA 02111-1307, USA.
subdir := dlfcn
-headers := dlfcn.h
+headers := bits/dlfcn.h dlfcn.h
extra-libs := libdl
libdl-routines := dlopen dlclose dlsym dlvsym dlerror dladdr
distribute := dlopenold.c
subdir := elf
-headers = elf.h bits/elfclass.h bits/dlfcn.h link.h dlfcn.h
+headers = elf.h bits/elfclass.h link.h
routines = $(dl-routines) dl-open dl-close dl-symbol dl-support \
dl-addr enbl-secure dl-profstub dl-origin dl-libc dl-sym
+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.
/* 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;