ref: 16a0f12de0b5ff40a24f16d95114020fb0c99304
parent: 0fe13a1edf5cdfcd5080df42795dc4ec0204f68e
author: Ori Bernstein <[email protected]>
date: Thu Jun 5 18:00:35 EDT 2014
Update to new API.
--- a/bio.myr
+++ b/bio.myr
@@ -110,7 +110,7 @@
const sysopen = {path, mode, openmode, perm
var fd
- fd = std.open(path, openmode, perm castto(int64))
+ fd = std.openmode(path, openmode, perm castto(int64))
if fd < 0
-> `std.None
else