]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 21 Jan 1999 00:14:27 +0000 (00:14 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 21 Jan 1999 00:14:27 +0000 (00:14 +0000)
1999-01-21  Ulrich Drepper  <drepper@cygnus.com>

* manager.c (pthread_allocate_stack): Set
__pthread_nonstandard_stacks if user-specified stack is used.

elf/dl-close.c
linuxthreads/ChangeLog
linuxthreads/manager.c

index f2f2b8bdce053c5734aca80279f68f8f3da52e72..a56c14400cb5443ef17d715a41cab6850c525b47 100644 (file)
@@ -103,10 +103,10 @@ _dl_close (struct link_map *map)
          if (imap->l_global)
            {
              /* This object is in the global scope list.  Remove it.  */
-             unsigned int cnt = _dl_main_searchlist->r_nlist;
+             int cnt = _dl_main_searchlist->r_nlist;
 
              do
-               if (cnt-- == 0)
+               if (--cnt < 0)
                  break;
              while (_dl_main_searchlist->r_list[cnt] != imap);
 
index 7eac05fee1f15028e5e8b34d949b72e0dbfc366e..a4ee453a5a3e660d252fc59a7459133bc16f0f13 100644 (file)
@@ -1,3 +1,8 @@
+1999-01-21  Ulrich Drepper  <drepper@cygnus.com>
+
+       * manager.c (pthread_allocate_stack): Set
+       __pthread_nonstandard_stacks if user-specified stack is used.
+
 1999-01-16  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _LFS_ASYNCHRONOUS_IO,
index cf9796ac2ec37c7b64b1c8e66f51871089e72572..caa819002ea48393baf6af450100973942ec9e77 100644 (file)
@@ -229,6 +229,7 @@ static int pthread_allocate_stack(const pthread_attr_t *attr,
       new_thread_bottom = (char *) attr->__stackaddr - attr->__stacksize;
       guardaddr = NULL;
       guardsize = 0;
+      __pthread_nonstandard_stacks = 1;
     }
   else
     {
This page took 0.051096 seconds and 5 git commands to generate.