Ticket #14123: filemap_file_case.diff
File filemap_file_case.diff, 1.2 KB (added by jmroot (Joshua Root), 16 years ago) |
---|
-
src/pextlib1.0/filemap.c
774 774 { 775 775 int theCompResult; 776 776 theSubnode = *theSubnodeCursor++; 777 theCompResult = strnc asecmp(theSubnode->fKeySubpart, beginCursor, partLength);777 theCompResult = strncmp(theSubnode->fKeySubpart, beginCursor, partLength); 778 778 if (theCompResult == 0) 779 779 { 780 780 /* first partLength bytes are equal, we need to check that fKeySubpart … … 914 914 { 915 915 int theCompResult; 916 916 theSubnode = *theSubnodeCursor++; 917 theCompResult = strnc asecmp(theSubnode->fKeySubpart, beginCursor, partLength);917 theCompResult = strncmp(theSubnode->fKeySubpart, beginCursor, partLength); 918 918 if (theCompResult == 0) 919 919 { 920 920 /* first partLength bytes are equal, we need to check that fKeySubpart … … 1113 1113 { 1114 1114 int theCompResult; 1115 1115 theSubnode = *theSubnodeCursor++; 1116 theCompResult = strnc asecmp(theSubnode->fKeySubpart, beginCursor, partLength);1116 theCompResult = strncmp(theSubnode->fKeySubpart, beginCursor, partLength); 1117 1117 if (theCompResult == 0) 1118 1118 { 1119 1119 /* first partLength bytes are equal, we need to check that fKeySubpart