uClibc: Fix threaded use of res_ functions.
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 28 Dec 2013 15:05:56 +0000 (15:05 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 28 Dec 2013 15:05:56 +0000 (15:05 +0000)
commit4ae0643f286a54aa54b2890c905d4d3379c02fb5
treeb89d566ac50562f3bb18b2a1063714653c3fb0fd
parent30bab886ec59f5d003e3da0e80a1caf1a535c1c6
uClibc: Fix threaded use of res_ functions.

This patch moves res_init() back above #undef _res. It fixes dns resolving issue in OpenWrt
(uClibc related - OpenWrt ticket #11929). It is a backport from uClibc master.

Further details are there:
http://git.uclibc.org/uClibc/commit/libc/inet/resolv.c?id=20b69920b299585265eb100d0b67e1097ccb1092

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39177 3c298f89-4303-0410-b956-a3cf2f4a3e73
toolchain/uClibc/patches-0.9.33.2/135-inet_fix_threaded_use_of_res_functions.patch [new file with mode: 0644]