mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
Many callers of __res_maybe_init also call _res_hconf_init. Additional calls to the latter do not hurt because the function does its work only once. (/etc/hosts.conf is not reloaded or even checked for changes.) This means that we can simplify the code by calling _res_hconf_init directly from __res_vinit.hjl/pr14995
11 changed files with 30 additions and 19 deletions
Loading…
Reference in new issue