Changeset 9ad75d5 in mainline
- Timestamp:
- 2008-04-13T02:39:57Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c9f6e49f
- Parents:
- 32fb10ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libfs/libfs.c
r32fb10ed r9ad75d5 149 149 void *par = NULL; 150 150 void *cur = ops->root_get(dev_handle); 151 void *tmp;152 151 153 152 if (ops->plb_get_char(next) == '/') … … 157 156 int len = 0; 158 157 while (ops->has_children(cur) && next <= last) { 158 void *tmp; 159 159 160 160 /* collect the component */ 161 if (ops->plb_get_char(next) != '/') {161 while ((ops->plb_get_char(next) != '/') && (next <= last)) { 162 162 if (len + 1 == NAME_MAX) { 163 163 /* comopnent length overflow */ … … 167 167 component[len++] = ops->plb_get_char(next); 168 168 next++; /* process next character */ 169 if (next <= last)170 continue;171 169 } 172 170
Note:
See TracChangeset
for help on using the changeset viewer.