diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-13 05:44:50 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-13 05:44:50 -0500 |
commit | 7435d175f409d3e41f7a0d3365ac725a6a00f2c5 (patch) | |
tree | 990df1f7a81239d985093447a53e9bf9edb02ea4 | |
parent | 8d4cfd83df0aa386282bba149fd3f790745cfea8 (diff) | |
download | gcompat-7435d175f409d3e41f7a0d3365ac725a6a00f2c5.tar.gz gcompat-7435d175f409d3e41f7a0d3365ac725a6a00f2c5.tar.bz2 gcompat-7435d175f409d3e41f7a0d3365ac725a6a00f2c5.tar.xz gcompat-7435d175f409d3e41f7a0d3365ac725a6a00f2c5.zip |
resolv: add __res_search alias
-rw-r--r-- | CHANGELOG.rst | 6 | ||||
-rw-r--r-- | libgcompat/resolv.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0af10e9..31475d4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -24,6 +24,12 @@ math * Add most __*_finite functions, courtesy of Elizabeth Myers. +resolv +------ + +* Add __res_search -> res_search alias. + + socket ------ diff --git a/libgcompat/resolv.c b/libgcompat/resolv.c index 5943bcc..f70d913 100644 --- a/libgcompat/resolv.c +++ b/libgcompat/resolv.c @@ -40,3 +40,9 @@ int __res_nclose(res_state statp) return 0; } weak_alias(__res_nclose, res_nclose); + +int __res_search(const char *dname, int class, int type, unsigned char *answer, + int anslen) +{ + return res_search(dname, class, type, answer, anslen); +} |