Changes in uspace/lib/posix/fnmatch.c [a12f7f1:f215bb5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/fnmatch.c
ra12f7f1 rf215bb5 525 525 static char *_casefold(const char *s) 526 526 { 527 assert(s != NULL); 527 528 char *result = strdup(s); 528 529 for (char *i = result; *i != '\0'; ++i) { … … 542 543 int posix_fnmatch(const char *pattern, const char *string, int flags) 543 544 { 545 assert(pattern != NULL); 546 assert(string != NULL); 547 544 548 // TODO: don't fold everything in advance, but only when needed 545 549
Note:
See TracChangeset
for help on using the changeset viewer.