~sircmpwn/himitsu-git

7146bdb358e1bc601eea9d2720aec7cd6fd3993d — Sertonix 7 months ago 2bdc4e0
update for latest stdlib
1 files changed, 3 insertions(+), 2 deletions(-)

M cmd/git-credential-himitsu/main.ha
M cmd/git-credential-himitsu/main.ha => cmd/git-credential-himitsu/main.ha +3 -2
@@ 3,6 3,7 @@ use fmt;
use himitsu::client;
use himitsu::query;
use io;
use memio;
use net;
use os;
use strings;


@@ 35,7 36,7 @@ export fn main() void = {

	let q = query::query { ... };
	for (true) {
		const line = match (bufio::scanline(os::stdin)) {
		const line = match (bufio::read_line(os::stdin)) {
		case let line: []u8 =>
			yield strings::fromutf8(line)!;
		case io::EOF =>


@@ 96,7 97,7 @@ export fn main() void = {
		return;
	};

	const source = bufio::fixed(strings::toutf8(key), io::mode::READ);
	const source = memio::fixed(strings::toutf8(key));
	const key = query::parse(&source)!;
	defer query::finish(&q);