Changeset 22262


Ignore:
Timestamp:
2010-07-17T19:43:32+02:00 (7 years ago)
Author:
mirko
Message:

qt4: avoiding the use of member variable <defname> of struct <res_state>, as it's disabled in uclibc, bloated and deprecated anyway
<dnsrch[i]> should contain the domain name(s) - however more verification is needed, whether <dnsrch[i]> is an appropriate replacement for <defdname>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/Xorg/lib/qt4/patches/100-do_not_use_res.defdname.patch

    r21876 r22262  
    1010     if (local_res_ninit) { 
    1111         // using thread-safe version 
     12--- qt-everywhere-opensource-src-4.7.0-beta1/src/qt3support/network/q3dns.cpp   2010-05-04 02:43:25.000000000 +0200 
     13+++ qt-everywhere-opensource-src-4.7.0-beta1/src/qt3support/network/q3dns.cpp.new       2010-06-20 14:43:48.565315801 +0200 
     14@@ -2499,8 +2499,8 @@ 
     15                break; 
     16        } 
     17 #  endif 
     18-       if ( *res.defdname ) 
     19-           theDomains->append( QString::fromLatin1( res.defdname ).lower().local8Bit() ); 
     20+//     if ( *res.defdname ) 
     21+//         theDomains->append( QString::fromLatin1( res.defdname ).lower().local8Bit() ); 
     22 #else 
     23        res_init(); 
     24        int i; 
     25@@ -2515,8 +2515,8 @@ 
     26                break; 
     27        } 
     28 #  endif 
     29-       if ( *_res.defdname ) 
     30-           theDomains->append( QString::fromLatin1( _res.defdname ).lower().local8Bit() ); 
     31+//     if ( *_res.defdname ) 
     32+//         theDomains->append( QString::fromLatin1( _res.defdname ).lower().local8Bit() ); 
     33 #endif 
     34  
     35        // the code above adds "0.0.0.0" as a name server at the slightest 
Note: See TracChangeset for help on using the changeset viewer.