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 hgfs: work in progress stuff... 2012-10-29 22:00:38 +01:00
dat.h hgfs: various improvements 2012-11-21 19:22:46 +01:00
fns.h hgfs: various improvements 2012-11-21 19:22:46 +01:00
fs.c hgfs: fix %.*s usage in walk 2019-02-25 04:08:13 +01:00
hash.c hgfs: work in progress stuff... 2012-10-29 22:00:38 +01:00
hgdb.c hgfs: work in progress stuff... 2012-11-22 00:02:43 +01:00
info.c hgfs: fix loadrevinfo() for empty log bug 2020-03-01 23:23:01 +01:00
mkfile hgfs: work in progress stuff... 2012-10-29 22:00:38 +01:00
patch.c hgfs: various improvements 2012-11-21 19:22:46 +01:00
revlog.c hgfs: remove bogus OTRUNC mode from create() call in fmktemp() 2012-11-21 19:28:40 +01:00
tree.c hgfs: more work in progress stuff 2012-10-28 23:18:38 +02:00
util.c hgfs: work in progress stuff... 2012-10-29 22:00:38 +01:00
zip.c add hgfs, a mercurial filesystem 2011-06-26 07:03:12 +02:00