diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:12:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:12:16 +0000 |
commit | 014194de605990c6bdce52e03ee3dc1df13c45e8 (patch) | |
tree | c65577c3a956dad1d4d1b05e6d62c2f331218e80 /toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch | |
parent | 02df774b52e4a0c0b9a8395e55263b80eb8f5f93 (diff) | |
download | upstream-014194de605990c6bdce52e03ee3dc1df13c45e8.tar.gz upstream-014194de605990c6bdce52e03ee3dc1df13c45e8.tar.bz2 upstream-014194de605990c6bdce52e03ee3dc1df13c45e8.zip |
uclibc: remove version 0.9.33
Latest uClibc-ng is now the only supported option
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47357
Diffstat (limited to 'toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch')
-rw-r--r-- | toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch b/toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch deleted file mode 100644 index 06278898f9..0000000000 --- a/toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch +++ /dev/null @@ -1,53 +0,0 @@ ---- a/libc/inet/resolv.c -+++ b/libc/inet/resolv.c -@@ -3432,6 +3432,7 @@ static void res_sync_func(void) - */ - } - -+/* has to be called under __resolv_lock */ - static int - __res_vinit(res_state rp, int preinit) - { -@@ -3440,7 +3441,6 @@ __res_vinit(res_state rp, int preinit) - int m = 0; - #endif - -- __UCLIBC_MUTEX_LOCK(__resolv_lock); - __close_nameservers(); - __open_nameservers(); - -@@ -3532,7 +3532,6 @@ __res_vinit(res_state rp, int preinit) - - rp->options |= RES_INIT; - -- __UCLIBC_MUTEX_UNLOCK(__resolv_lock); - return 0; - } - -@@ -3582,11 +3581,11 @@ res_init(void) - if (!_res.id) - _res.id = res_randomid(); - -- __UCLIBC_MUTEX_UNLOCK(__resolv_lock); -- - __res_vinit(&_res, 1); - __res_sync = res_sync_func; - -+ __UCLIBC_MUTEX_UNLOCK(__resolv_lock); -+ - return 0; - } - libc_hidden_def(res_init) -@@ -3687,7 +3686,11 @@ struct __res_state *__resp = &_res; - int - res_ninit(res_state statp) - { -- return __res_vinit(statp, 0); -+ int ret; -+ __UCLIBC_MUTEX_LOCK(__resolv_lock); -+ ret = __res_vinit(statp, 0); -+ __UCLIBC_MUTEX_UNLOCK(__resolv_lock); -+ return ret; - } - - #endif /* L_res_init */ |