~sircmpwn/hare-tar

6d1f55c917aab52fb8bec9ad08534837b40636f1 — Sebastian 1 year, 8 months ago fc6953d
strings: return utf8::invalid from fromc on invalid UTF-8

Signed-off-by: Sebastian <sebastian@sebsite.pw>
1 files changed, 1 insertions(+), 1 deletions(-)

M reader.ha
M reader.ha => reader.ha +1 -1
@@ 207,7 207,7 @@ fn readstr(rd: *bufio::memstream, ln: size) str = {
	case io::EOF =>
		abort();
	};
	return strings::fromc(buf: *[*]u8: *const char);
	return strings::fromc(buf: *[*]u8: *const char)!;
};

fn readoct(rd: *bufio::memstream, ln: size) (uint | invalid) = {