Page MenuHomeFreeBSD

libc/resolv: Export __res_conf_name
Needs ReviewPublic

Authored by des on Mon, Jun 29, 11:07 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Add a new global variable, __res_conf_name, which is initialized to
_PATH_RESCONF and used in its place by res_init(). This allows test
programs (and applications) to select a different configuration file
to read instead of /etc/resolv.conf.

PR: 220610

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74396
Build 71279: arc lint + arc unit