shithub: mc

Download patch

ref: f10af8f76ee02e4b3a72a165e6f8dad05aab22ec
parent: 3250653e1a127a7052b775ad8508dcd3adaf3ee5
author: Ori Bernstein <[email protected]>
date: Wed Jan 2 20:01:37 EST 2013

Remove spurious 'put'

--- a/libstd/slurp.myr
+++ b/libstd/slurp.myr
@@ -25,7 +25,6 @@
 	len = 0
 	buf = slalloc(Bufinc)
 	while true
-		put("", fd, n, buf.len)
 		n = read(fd, buf[len:])
 		if n == 0
 			goto done