Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Andreas_Schwab:glibc
glibc
glibc-resolv-mdnshint.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glibc-resolv-mdnshint.diff of Package glibc
Index: glibc-2.27/resolv/res_hconf.c =================================================================== --- glibc-2.27.orig/resolv/res_hconf.c +++ glibc-2.27/resolv/res_hconf.c @@ -215,9 +215,12 @@ parse_line (const char *fname, int line_ if (c == NULL) { char *buf; + const char *hint = ""; - if (__asprintf (&buf, _("%s: line %d: bad command `%s'\n"), - fname, line_num, start) < 0) + if (__strncasecmp (start, "mdns", len) == 0 && len == 4) + hint = "Multicast DNS is now configured in /etc/nsswitch.conf instead.\nSee also the package and manpage of nss-mdns.\n"; + if (__asprintf (&buf, _("%s: line %d: bad command `%s'\n%s"), + fname, line_num, start, hint) < 0) return; __fxprintf (NULL, "%s", buf);
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