manage duplicate /

This commit is contained in:
Laurent Vivier 2008-07-28 22:51:35 +00:00
parent 56e7f86bc4
commit 12269cce4d

View File

@ -290,7 +290,7 @@ unsigned int ext2_seek_name(ext2_VOLUME *volume, char *name)
ino = EXT2_ROOT_INO; ino = EXT2_ROOT_INO;
while(1) { while(1) {
if (*name == '/') while (*name == '/')
name++; name++;
if (!*name) if (!*name)
break; break;