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)
commitf1d8e49bf4931101c1df56bf69f8fe3ad8b044ee
treeb89d566ac50562f3bb18b2a1063714653c3fb0fd
parent8c02ea653e006a872986254ee9441eb0b625ea86
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]