Changeset 32690


Ignore:
Timestamp:
2012-07-13T00:20:21+02:00 (6 years ago)
Author:
nbd
Message:

mtr: remove a broken resolver related patch chunk to fix dns issues (fixes #11044)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/mtr/patches/502-fix-res_ninit.patch

    r25784 r32690  
    11--- a/dns.c 
    22+++ b/dns.c 
    3 @@ -309,17 +309,17 @@ char nullstring[] = ""; 
    4   
    5  int use_dns = 1; 
    6   
    7 -#ifdef res_ninit 
    8 -#define MY_RES_INIT() res_ninit(&myres); 
    9 -#define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \ 
    10 -    res_nmkquery(&myres, a, b, c, d, e, f, g, h, i) 
    11 -struct __res_state myres; 
    12 -#else 
    13 +//#ifdef res_ninit 
    14 +//#define MY_RES_INIT() res_ninit(&myres); 
    15 +//#define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \ 
    16 +//    res_nmkquery(&myres, a, b, c, d, e, f, g, h, i) 
    17 +//struct __res_state myres; 
    18 +//#else 
    19  #define MY_RES_INIT() res_init(); 
    20  #define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \ 
    21      res_mkquery(a, b, c, d, e, f, g, h, i) 
    22  #define myres _res 
    23 -#endif 
    24 +//#endif 
    25   
    26  /* Code */ 
    27  #ifdef CorruptCheck 
    283@@ -1267,28 +1267,6 @@ res_nmkquery(res_state statp, 
    294                 return (-1); 
Note: See TracChangeset for help on using the changeset viewer.