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)
commit8cabffaa3bd947a66f5111faa8bb0119fe15a7e1
tree51c9393b4593b055ddf5ac5353aba95ab4960cc3
parent5607a13aa112a58c6a46adddf2a6695b7985abca
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>
SVN-Revision: 39177
toolchain/uClibc/patches-0.9.33.2/135-inet_fix_threaded_use_of_res_functions.patch [new file with mode: 0644]