summaryrefslogtreecommitdiff
path: root/lib/std/slurp.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-08-27 02:33:39 -0700
committerOri Bernstein <ori@eigenstate.org>2017-08-27 02:33:39 -0700
commit0ffaabebcf294f1488a26f84c9f6ff3621d8319d (patch)
tree1cde7acb6c35bb1b7a11802b51f7aeb0a35657eb /lib/std/slurp.myr
parentd27288db4ad5b2154c8c946029f8ed1943012286 (diff)
downloadmc-0ffaabebcf294f1488a26f84c9f6ff3621d8319d.tar.gz
Ordonly/Owronly => Oread/Owrite.
Diffstat (limited to 'lib/std/slurp.myr')
-rw-r--r--lib/std/slurp.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/slurp.myr b/lib/std/slurp.myr
index a966e4a..8e653f9 100644
--- a/lib/std/slurp.myr
+++ b/lib/std/slurp.myr
@@ -15,7 +15,7 @@ const Bufstart = 4096
const slurp = {path
var sl
- match open(path, Ordonly)
+ match open(path, Oread)
| `Err e: -> `Err e
| `Ok fd:
sl = fslurp(fd)