shithub: mc

Download patch

ref: ac9b5e75f6c6cd0171b0b86b9b109cc1d9639d5c
parent: 0cd717249cb46bdb6c067535eee2aacd4d63f9e3
author: Ori Bernstein <[email protected]>
date: Fri Dec 26 11:40:47 EST 2014

Plan 9 currently has no sys.statbuf.

--- a/6/insns.def
+++ b/6/insns.def
@@ -246,12 +246,12 @@
     Def(.l={2}))
 Insn(Icvttsd2si,
     "\tcvttsd2si%2t %x,%r\n",
-    "\tCVTTSD2SI%2T %X,%R\n",
+    "\tCVTTSD2S%2T %X,%R\n",
     Use(.l={1}),
     Def(.l={2}))
 Insn(Icvttsi2sd,
     "\tcvttsi2sd%2t %x,%f\n",
-    "\tCVTTSI2SD%2T %X,%F\n",
+    "\tCVTTS%2T2SD %X,%F\n",
     Use(.l={1}),
     Def(.l={2}))
 Insn(Icvttsd2ss,
--- a/test/import-type.myr
+++ b/test/import-type.myr
@@ -4,5 +4,5 @@
 const main = {
 	var x : std.size
 	var y : std.off
-	var z : sys.statbuf
+	var z : sys.fd
 }