plan9fox/sys/src/cmd/hgfs
cinap_lenrek 17136370d8 hgfs: fix loadrevinfo() for empty log bug
loadrevinfo() would fail on a empty log portion due
to a bug in the previous commit.

the loop is supposed to skip all bytes until we encounter
a empty line. the loop starts at the beginning of a line
so when we encounter a \n, we have to terminate, otherwise
read bytes until we see \n (end of a line) and then read
another and test the condition again.
2020-03-01 23:23:01 +01:00
..
ancestor.c
dat.h
fns.h
fs.c
hash.c
hgdb.c
info.c hgfs: fix loadrevinfo() for empty log bug 2020-03-01 23:23:01 +01:00
mkfile
patch.c
revlog.c
tree.c
util.c
zip.c