mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1999-05-18 Thorsten Kukuk <kukuk@suse.de> * nis/nis_lookup.c (nis_lookup): If we run out of memory, close RPC connection.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
1999-05-18 Thorsten Kukuk <kukuk@suse.de>
|
||||||
|
|
||||||
|
* nis/nis_lookup.c (nis_lookup): If we run out of memory, close
|
||||||
|
RPC connection.
|
||||||
|
|
||||||
1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
|
1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
|
||||||
|
|
||||||
* sysdeps/sparc/sparc64/rawmemchr.S: New file.
|
* sysdeps/sparc/sparc64/rawmemchr.S: New file.
|
||||||
|
@ -193,7 +193,7 @@ static int pthread_start_thread(void *arg)
|
|||||||
__sched_setscheduler(THREAD_GETMEM(self, p_pid),
|
__sched_setscheduler(THREAD_GETMEM(self, p_pid),
|
||||||
THREAD_GETMEM(self, p_start_args.schedpolicy),
|
THREAD_GETMEM(self, p_start_args.schedpolicy),
|
||||||
&self->p_start_args.schedparam);
|
&self->p_start_args.schedparam);
|
||||||
else if (__pthread_manager_thread.p_priority > 0)
|
else if (__pthread_manager_thread.p_priority > 0)
|
||||||
/* Default scheduling required, but thread manager runs in realtime
|
/* Default scheduling required, but thread manager runs in realtime
|
||||||
scheduling: switch new thread to SCHED_OTHER policy */
|
scheduling: switch new thread to SCHED_OTHER policy */
|
||||||
{
|
{
|
||||||
|
@ -127,7 +127,10 @@ nis_lookup (const_nis_name name, const unsigned int flags)
|
|||||||
nis_freeresult (res);
|
nis_freeresult (res);
|
||||||
res = calloc (1, sizeof (nis_result));
|
res = calloc (1, sizeof (nis_result));
|
||||||
if (res == NULL)
|
if (res == NULL)
|
||||||
return NULL;
|
{
|
||||||
|
__nisbind_destroy (&bptr);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
link_first_try = 1; /* Try at first the old binding */
|
link_first_try = 1; /* Try at first the old binding */
|
||||||
goto again;
|
goto again;
|
||||||
|
Reference in New Issue
Block a user