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

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/aiccu/patches/patch-common_resolver_c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2951 - (show annotations) (download)
Tue Jun 26 19:20:08 2007 UTC (6 years, 8 months ago) by tha
File size: 934 byte(s)
Madwifi (fixing bug: #155):
 - downgraded to 0.9.2.1, because in 0.9.3.x the madwifi kernel module
   oopses in monitor mode.
 - applied debian's security fixed for 0.9.2.1, because every 
   unpatched version before 0.9.3.1 is vulnerable to three knows security
   issues (see madwifi.org).
 - converted four manual patches to the freewrt patch format
 - thx to shorty for sending a one-liner fix in the Makefile for 0.9.2.1

Aiccu (fixing a bug reported via the xen-users ml by Frank Matthiess):
 - merged fix from trunk rev #2881 for fixing a bug regarding a broken
   IP Header in the aiccu packets.

Broadcom-wl-util (fixing bug: #334):
 - qouted the wpa password in the if-<pre>up.d scripts.
   hopefully this fixes this bug. Until now I only checked that it 
   doesn't brake something that was already working before.

Freeradius (fixing bug: #321):
 - the init.d script now exports the correct library path before radiusd
   is started. otherwise the daemon fails in certain setups because some
   libraries cannot be found. thx to tg for this fix.

License:
 - updated the license file to refelect the current developer team.
   the names and the alphabetic order has been "stolen" by me from
   http://www.freewrt.org/trac/wiki/Development/Developers


1 $FreeWRT$
2 --- aiccu.orig/common/resolver.c Sun Jul 23 14:54:51 2006
3 +++ aiccu/common/resolver.c Mon Jun 25 13:18:22 2007
4 @@ -26,7 +26,7 @@
5
6 int getrrs(const char *label, int rrtype, void gotrec(unsigned int num, int type, const char *record))
7 {
8 -#ifdef _LINUX
9 +#if defined(_LINUX) && !defined(__UCLIBC__)
10 struct __res_state res;
11 #endif
12 unsigned char answer[8192];
13 @@ -38,7 +38,7 @@ int getrrs(const char *label, int rrtype
14 uint16_t type = 0, class = 0;
15 uint32_t ttl = 0;
16
17 -#ifdef _LINUX
18 +#if defined(_LINUX) && !defined(__UCLIBC__)
19 memset(&res, 0, sizeof(res));
20 res.options = RES_DEBUG;
21 res_ninit(&res);
22 @@ -47,7 +47,7 @@ int getrrs(const char *label, int rrtype
23 #endif
24
25 memset(answer, 0, sizeof(answer));
26 -#ifdef _LINUX
27 +#if defined(_LINUX) && !defined(__UCLIBC__)
28 ret = res_nquery(&res, label, C_IN, rrtype, answer, sizeof(answer));
29 #else
30 ret = res_query(label, C_IN, rrtype, answer, sizeof(answer));

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