Changeset 00c2de63 in mainline for uspace/lib/posix/fnmatch.c
- Timestamp:
- 2011-07-29T14:50:22Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b6759f4
- Parents:
- 6c69d19 (diff), 7ae249d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/fnmatch.c
r6c69d19 r00c2de63 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.