shithub: mc

Download patch

ref: caec8e04bcf3ac9a47b5c191a331346ad0eaf51c
parent: 569539487df51dc4c132f0756a9156c15c812bac
author: Ori Bernstein <[email protected]>
date: Tue Dec 30 13:07:37 EST 2014

Fix duplicate variable definition.

    Should really make the compiler error on this..

--- a/libstd/syswrap+posixy.myr
+++ b/libstd/syswrap+posixy.myr
@@ -86,8 +86,6 @@
 
 /* useful/portable bits of uname */
 const getsysinfo = {si
-	var si : sysinfo
-
 	sys.uname(&si.uname)
 	si.system = cstrconv(si.uname.system[:])
 	si.version = cstrconv(si.uname.version[:])