[BZ #405]
authorUlrich Drepper <drepper@redhat.com>
Fri, 24 Sep 2004 18:22:04 +0000 (18:22 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 24 Sep 2004 18:22:04 +0000 (18:22 +0000)
commit3f80a99b8f5c9b7927a5a77f0c1854f0deeb1b25
tree5a289c9186beda8f0fbc620dc1e2ca9f5088e341
parentebfa58bb230933c35798a83f99a7a0c95c9d2217
[BZ #405]

Update.
* pthread_create.c (__pthread_create_2_1): Remember whether thread
is created detached and if yes, do not try to free the stack in case
the thread creation failed.
* sysdeps/pthread/createthread.c (do_clone): Free stack here if clone
call fails.  Don't depend on INTERNAL_SYSCALL_ERRNO return zero in
case there has been no error.  [BZ #405]
nptl/ChangeLog
nptl/sysdeps/pthread/createthread.c