From bd2e46c8255fad4e75e589b3286ead560e910b39 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 3 Oct 2012 05:27:36 +0000 Subject: libgo: Update to Go 1.0.3. From-SVN: r192025 --- libgo/runtime/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libgo/runtime/print.c') diff --git a/libgo/runtime/print.c b/libgo/runtime/print.c index c24304e..5a8e47e 100644 --- a/libgo/runtime/print.c +++ b/libgo/runtime/print.c @@ -20,10 +20,10 @@ gwrite(const void *v, int32 n) runtime_write(2, v, n); return; } - + if(g->writenbuf == 0) return; - + if(n > g->writenbuf) n = g->writenbuf; runtime_memmove(g->writebuf, v, n); -- cgit v1.1