1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* grp/compat-initgroups.c (compat_call): Switch to use malloc when
	the input line is too long.
This commit is contained in:
Ulrich Drepper
2009-02-07 04:40:57 +00:00
parent 41f128dc04
commit 1a9dd4e4e4
6 changed files with 38 additions and 12 deletions

View File

@ -96,10 +96,9 @@ __res_maybe_init (res_state resp, int preinit)
{
if (resp->options & RES_INIT) {
if (__res_initstamp != resp->_u._ext.initstamp) {
if (resp->nscount > 0) {
if (resp->nscount > 0)
__res_iclose (resp, true);
return __res_vinit (resp, 1);
}
return __res_vinit (resp, 1);
}
return 0;
} else if (preinit) {