summaryrefslogtreecommitdiff
path: root/lib/std/syswrap+plan9.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-01-10 00:39:02 -0800
committerOri Bernstein <ori@eigenstate.org>2017-01-10 01:15:35 -0800
commit1025ec5cb60d81c3ac545ce735973b4c74e8c692 (patch)
tree1892537f71379061d0f803843b25d6be1f73594d /lib/std/syswrap+plan9.myr
parent22f662c694d2469e08614f582e1680f160966433 (diff)
downloadmc-1025ec5cb60d81c3ac545ce735973b4c74e8c692.tar.gz
Add some missing open flags on some oses.
Diffstat (limited to 'lib/std/syswrap+plan9.myr')
-rw-r--r--lib/std/syswrap+plan9.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/syswrap+plan9.myr b/lib/std/syswrap+plan9.myr
index 724ee61..bd3552f 100644
--- a/lib/std/syswrap+plan9.myr
+++ b/lib/std/syswrap+plan9.myr
@@ -32,6 +32,7 @@ pkg std =
const Owronly : fdopt = (sys.Owronly : fdopt)
const Ordwr : fdopt = (sys.Ordwr : fdopt)
const Otrunc : fdopt = (sys.Otrunc : fdopt)
+ const Ocexec : fdopt = (sys.Ocexec : fdopt)
const Ocreat : fdopt = 0x1000000 /* emulated by redirecting to creat(). */
const Oappend : fdopt = 0x2000000 /* emulated by seeking to EOF */
const Odir : fdopt = 0x0 /* no-op on plan9 */