Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3003 → Rev 3002

/trunk/uspace/lib/libfs/libfs.c
158,7 → 158,7
while (next <= last && ops->has_children(cur)) {
/* collect the component */
len = 0;
while ((next <= last) && (ops->plb_get_char(next) != '/')) {
while ((ops->plb_get_char(next) != '/') && (next <= last)) {
if (len + 1 == NAME_MAX) {
/* comopnent length overflow */
ipc_answer_0(rid, ENAMETOOLONG);