New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #11759: patch-macports-case-sensitive-uninstall.diff

File patch-macports-case-sensitive-uninstall.diff, 483 bytes (added by raimue@…, 4 years ago)
  • pextlib1.0/filemap.c

     
    10031003        if (inRoot->fNodeType == kLeaf) 
    10041004        { 
    10051005                /* it's a leaf. Does the value match? */ 
    1006                 if (strcmp(((SLeaf*) inRoot)->fValue, inValue) == 0) 
     1006                if (strcasecmp(((SLeaf*) inRoot)->fValue, inValue) == 0) 
    10071007                { 
    10081008                        /* It matches. */ 
    10091009                        char* thePath = ckalloc(inSubpathLen + NAME_MAX + 1);