uClibc: Fix threaded use of res_ functions.
authorFelix Fietkau <nbd@openwrt.org>
Sat, 28 Dec 2013 15:05:56 +0000 (15:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 28 Dec 2013 15:05:56 +0000 (15:05 +0000)
commit535ac95612dffa24952a27892359efeb429ebce0
treeb89d566ac50562f3bb18b2a1063714653c3fb0fd
parent088a34dea4203b674dd3bb15601c00e9395c6334
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]