shithub: mc

Download patch

ref: 56b0a563b067269bb530d7684e01d7feef06266b
parent: a1371465bd9d282020dfecf230917a9e881a5574
author: Ori Bernstein <[email protected]>
date: Mon Oct 6 13:06:25 EDT 2014

Fix typo in return type for 'free'

--- a/bio.myr
+++ b/bio.myr
@@ -27,7 +27,7 @@
 	const dial	: (srv	: byte[:], mode : mode	-> std.option(file#))
 	const create	: (path : byte[:], mode : mode, perm : int	-> std.option(file#))
 	const close	: (f : file# -> bool)
-	const free	: (f : file# -> bool)
+	const free	: (f : file# -> void)
 
 	/* basic i/o. Returns sub-buffer when applicable. */
 	const write	: (f : file#, src : byte[:]	-> std.size)