Mercurial > hg > Members > menikon > CbC_xv6
changeset 253:eb62acc627f1
continue fix goto
author | menikon |
---|---|
date | Wed, 05 Feb 2020 16:48:45 +0900 |
parents | 9d7787e4e214 |
children | 66a6aedf60f9 |
files | src/impl/fs_impl_private.cbc |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/impl/fs_impl_private.cbc Wed Feb 05 16:40:02 2020 +0900 +++ b/src/impl/fs_impl_private.cbc Wed Feb 05 16:48:45 2020 +0900 @@ -252,9 +252,8 @@ } if (de->inum == 0) { - /* - coninue; - */ + off += sizeof(de); + goto dirlookup_loopcheck(fs_impl, dp, name, poff, de, next(...)); } if (namecmp(name, de->name) == 0) {