English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/common-nfo/package/asterisk-12/patches/patch-dns_c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3427 - (show annotations) (download)
Wed Aug 8 11:08:41 2007 UTC (6 years, 6 months ago) by tg
File size: 697 byte(s)
merge in trunk rev. 3426
1 $FreeWRT$
2
3 rejected upstream, cf. http://bugs.digium.com/view.php?id=10251
4 they're clueless, because uClibc definitively does NOT have
5 __res_ninit() and friends, yet they say it has
6
7 --- asterisk-1.2.22.orig/dns.c 2007-07-16 22:46:58.000000000 +0200
8 +++ asterisk-1.2.22/dns.c 2007-07-19 01:09:18.000000000 +0200
9 @@ -234,10 +234,16 @@ static int dns_parse_answer(void *contex
10
11 #if defined(res_ninit)
12 #define HAS_RES_NINIT
13 +#endif
14 +
15 +#ifdef __UCLIBC__
16 +#undef HAS_RES_NINIT
17 +#endif
18 +
19 #if defined(res_ndestroy)
20 #define HAS_RES_NDESTROY
21 #endif
22 -#else
23 +#ifndef HAS_RES_NINIT
24 AST_MUTEX_DEFINE_STATIC(res_lock);
25 #if 0
26 #warning "Warning, res_ninit is missing... Could have reentrancy issues"

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20