shithub: mc

Download patch

ref: 193c0a031b36a4d6d0ca90bb56d1427fd1b15bc0
parent: abc3e11195bfa5869bf799becb1c83310471ce9e
author: Ori Bernstein <[email protected]>
date: Tue Dec 23 13:08:39 EST 2014

Another typo. Ugh.

--- a/libstd/syswrap+plan9.myr
+++ b/libstd/syswrap+plan9.myr
@@ -40,7 +40,7 @@
 
 /* fd stuff */
 const open	= {path, opts;	-> openmode(path, opts, 0o777)}
-const openmode	= {path, opts, mod
+const openmode	= {path, opts, mode
 	if opts & Ocreat != 0
 		-> sys.create(path, opts castto(sys.fdopt), mode castto(int)) castto(fd)
 	else