Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4206 → Rev 4207

/trunk/kernel/genarch/src/ofw/ofw_tree.c
252,8 → 252,8
if (path[0] != '/')
return NULL;
for (i = 1; i < strlen(path) && node; i = j + 1) {
for (j = i; j < strlen(path) && path[j] != '/'; j++)
for (i = 1; i < str_size(path) && node; i = j + 1) {
for (j = i; j < str_size(path) && path[j] != '/'; j++)
;
if (i == j) /* skip extra slashes */
continue;
/trunk/kernel/genarch/src/multiboot/multiboot.c
54,7 → 54,7
/* Find the first space. */
end = strchr(cmd_line, ' ');
if (end == NULL)
end = cmd_line + strlen(cmd_line);
end = cmd_line + str_size(cmd_line);
/*
* Find last occurence of '/' before 'end'. If found, place start at