~sircmpwn/hare-compress

f5376128ca8752e8ff7cb70f7a1cbb57829b255a — Sertonix 6 months ago 9b47d8a
encoding::gzip: remove full module name usage

They are not officially supported and may be removed in the future.
2 files changed, 2 insertions(+), 2 deletions(-)

M compress/gzip/+test.ha
M compress/gzip/reader.ha
M compress/gzip/+test.ha => compress/gzip/+test.ha +1 -1
@@ 14,7 14,7 @@ use memio;
	for (let i = 0z; i < len(vectors); i += 1) {
		const vector = vectors[i];
		const st = memio::fixed(vector.0);
		const h = crc32::crc32(&hash::crc32::ieee_table);
		const h = crc32::crc32(&crc32::ieee_table);
		const s = readstr(&st, &h) as str;
		assert(s == vector.1);
		free(s);

M compress/gzip/reader.ha => compress/gzip/reader.ha +1 -1
@@ 64,7 64,7 @@ export fn decompress(src: io::handle) ((header, reader) | error) = {
		...
	};

	const h = crc32::crc32(&hash::crc32::ieee_table);
	const h = crc32::crc32(&crc32::ieee_table);
	hash::write(&h, buf);

	const flag = buf[3];