dcallagh-exheres

My personal Exherbo repository
git clone https://code.djc.id.au/git/dcallagh-exheres/

packages/x11-misc/gmrun/files/strncasecmp.patch (576B) - raw

      1 Source: Dan Callaghan <djc@djc.id.au>
      2 Upstream: TODO
      3 Reason: need to use POSIX strncasecmp
      4 
      5 Not sure what this is about, strncasecmp is not a member of std::char_traits in 
      6 any STL I can find...
      7 
      8 --- gmrun-0.9.2-orig/src/ci_string.h	2001-05-17 00:39:31.000000000 +1000
      9 +++ gmrun-0.9.2/src/ci_string.h	2010-10-09 15:39:27.734709225 +1000
     10 @@ -26,7 +27,7 @@
     11    static int compare( const char* s1,
     12                        const char* s2,
     13                        size_t n ) {
     14 -    return ::strncasecmp( s1, s2, n );
     15 +    return strncasecmp( s1, s2, n );
     16    }
     17  
     18    static const char*