New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14123: filemap_file_case.diff

File filemap_file_case.diff, 1.2 KB (added by jmr@…, 4 years ago)

implementation of the requested change

  • src/pextlib1.0/filemap.c

     
    774774                { 
    775775                        int theCompResult; 
    776776                        theSubnode = *theSubnodeCursor++; 
    777                         theCompResult = strncasecmp(theSubnode->fKeySubpart, beginCursor, partLength); 
     777                        theCompResult = strncmp(theSubnode->fKeySubpart, beginCursor, partLength); 
    778778                        if (theCompResult == 0) 
    779779                        { 
    780780                                /* first partLength bytes are equal, we need to check that fKeySubpart 
     
    914914                { 
    915915                        int theCompResult; 
    916916                        theSubnode = *theSubnodeCursor++; 
    917                         theCompResult = strncasecmp(theSubnode->fKeySubpart, beginCursor, partLength); 
     917                        theCompResult = strncmp(theSubnode->fKeySubpart, beginCursor, partLength); 
    918918                        if (theCompResult == 0) 
    919919                        { 
    920920                                /* first partLength bytes are equal, we need to check that fKeySubpart 
     
    11131113                { 
    11141114                        int theCompResult; 
    11151115                        theSubnode = *theSubnodeCursor++; 
    1116                         theCompResult = strncasecmp(theSubnode->fKeySubpart, beginCursor, partLength); 
     1116                        theCompResult = strncmp(theSubnode->fKeySubpart, beginCursor, partLength); 
    11171117                        if (theCompResult == 0) 
    11181118                        { 
    11191119                                /* first partLength bytes are equal, we need to check that fKeySubpart