Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:Maintenance:405
glibc-utils.openSUSE_13.1_Update
glibc-nscd-hconf.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glibc-nscd-hconf.diff of Package glibc-utils.openSUSE_13.1_Update
See: http://sourceware.org/bugzilla/show_bug.cgi?id=11928 Index: glibc-2.17.90/nscd/aicache.c =================================================================== --- glibc-2.17.90.orig/nscd/aicache.c +++ glibc-2.17.90/nscd/aicache.c @@ -25,6 +25,7 @@ #include <time.h> #include <unistd.h> #include <sys/mman.h> +#include <resolv/res_hconf.h> #include "dbg_log.h" #include "nscd.h" @@ -102,6 +103,8 @@ addhstaiX (struct database_dyn *db, int if (__res_maybe_init (&_res, 0) == -1) no_more = 1; + if (!_res_hconf.initialized) + _res_hconf_init (); /* If we are looking for both IPv4 and IPv6 address we don't want the lookup functions to automatically promote IPv4 addresses to Index: glibc-2.17.90/resolv/res_hconf.c =================================================================== --- glibc-2.17.90.orig/resolv/res_hconf.c +++ glibc-2.17.90/resolv/res_hconf.c @@ -81,7 +81,9 @@ static const struct cmd }; /* Structure containing the state. */ +#ifndef NOT_IN_libc struct hconf _res_hconf; +#endif /* Skip white space. */ static const char *
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor