Remove the idea of limited reads and writes.

This commit is contained in:
Nigel Tao committed 2017-10-07 15:32:00 +11:00
1 parent a12292d094
commit d275b379a3
11 files changed
+48 -102

No files matched your search

-2
View File
@@ -204,7 +204,6 @@ pri func decoder.decode_uncompressed?(dst writer1, src reader1)() {
return error "internal error: inconsistent Huffman decoder state"
}
length -= n
// TODO: distinguish between short and limited writes?
// TODO: distinguish between reads and writes.
return suspension "short read"
}
@@ -365,7 +364,6 @@ pri func decoder.decode_huffman?(dst writer1, src reader1)() {
return error "internal error: inconsistent Huffman decoder state"
}
length -= n
// TODO: distinguish between short and limited writes?
return suspension "short write"
}
}