mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1999-01-21 Ulrich Drepper <drepper@cygnus.com> * manager.c (pthread_allocate_stack): Set __pthread_nonstandard_stacks if user-specified stack is used.
This commit is contained in:
@ -103,10 +103,10 @@ _dl_close (struct link_map *map)
|
|||||||
if (imap->l_global)
|
if (imap->l_global)
|
||||||
{
|
{
|
||||||
/* This object is in the global scope list. Remove it. */
|
/* 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
|
do
|
||||||
if (cnt-- == 0)
|
if (--cnt < 0)
|
||||||
break;
|
break;
|
||||||
while (_dl_main_searchlist->r_list[cnt] != imap);
|
while (_dl_main_searchlist->r_list[cnt] != imap);
|
||||||
|
|
||||||
|
@ -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>
|
1999-01-16 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _LFS_ASYNCHRONOUS_IO,
|
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _LFS_ASYNCHRONOUS_IO,
|
||||||
|
@ -229,6 +229,7 @@ static int pthread_allocate_stack(const pthread_attr_t *attr,
|
|||||||
new_thread_bottom = (char *) attr->__stackaddr - attr->__stacksize;
|
new_thread_bottom = (char *) attr->__stackaddr - attr->__stacksize;
|
||||||
guardaddr = NULL;
|
guardaddr = NULL;
|
||||||
guardsize = 0;
|
guardsize = 0;
|
||||||
|
__pthread_nonstandard_stacks = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user