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