| 487 | } |
| 488 | |
| 489 | int PathNameComparator::compare(AbstractString::const_pointer s1, AbstractString::const_pointer s2, |
| 490 | const AbstractString::size_type n) |
| 491 | { |
| 492 | if (CASE_SENSITIVITY) |
| 493 | return memcmp(s1, s2, n); |
| 494 | |
| 495 | return STRNCASECMP(s1, s2, n); |
| 496 | } |
| 497 | |
| 498 | int IgnoreCaseComparator::compare(AbstractString::const_pointer s1, AbstractString::const_pointer s2, |
| 499 | const AbstractString::size_type n) |