shithub: mc

Download patch

ref: 7e9636534ee41879a2a92af42f40932b26752685
parent: 50b8f79715b5b681a115c6ded65b0c0dd42d388f
author: Ori Bernstein <[email protected]>
date: Tue Dec 17 19:01:17 EST 2013

Fix typo.

--- a/libstd/sys-linux.myr
+++ b/libstd/sys-linux.myr
@@ -479,7 +479,7 @@
 const write	= {fd, buf;		-> syscall(Syswrite, fd, buf castto(byte#), buf.len castto(size)) castto(size)}
 const lseek	= {fd, off, whence;	-> syscall(Syslseek, fd, off, whence)}
 const fstat	= {fd, sb;		-> syscall(Sysfstat, fd, sb)}
-const mkdir	= {path, mode;		-> syscall(Sysmkdir, cstring(path), mode) castto(int64))
+const mkdir	= {path, mode;		-> syscall(Sysmkdir, cstring(path), mode) castto(int64)}
 
 /* networking */
 const socket	= {dom, stype, proto;	-> syscall(Syssocket, dom castto(int64), stype, proto) castto(fd)}
--- a/libstd/sys-osx.myr
+++ b/libstd/sys-osx.myr
@@ -530,7 +530,7 @@
 const write	= {fd, buf;		-> syscall(Syswrite, fd, buf castto(char#), buf.len castto(size)) castto(size)}
 const lseek	= {fd, off, whence;	-> syscall(Syslseek, fd, off, whence)}
 const fstat	= {fd, sb;		-> syscall(Sysfstat, fd, sb)}
-const mkdir	= {path, mode;		-> syscall(Sysmkdir, cstring(path), mode) castto(int64))
+const mkdir	= {path, mode;		-> syscall(Sysmkdir, cstring(path), mode) castto(int64)}
 
 /* networking */
 const socket	= {dom, stype, proto;	-> syscall(Syssocket, dom castto(int64), stype, proto) castto(fd) }