Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Read and write slot keys and pages in full
xread and xwrite may move fewer bytes than asked. A short write of the key left a slot that could never match, a short read of it reported a collision, and a page write that moved nothing looped for ever.
Diffstat (limited to 'source')
-rw-r--r--source/cache.c4
-rw-r--r--source/html.c6
2 files changed, 7 insertions, 3 deletions