2
0
Эх сурвалжийг харах

* pass 3 as fd for path_open

git-svn-id: branches/wasm@48341 -
nickysn 4 жил өмнө
parent
commit
0077b16cc3
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      rtl/wasi/sysfile.inc

+ 1 - 1
rtl/wasi/sysfile.inc

@@ -168,7 +168,7 @@ Begin
    end;
 { real open call }
   repeat
-    res:=path_open(0,
+    res:=path_open(3,  { not sure about this fd... }
                    0,
                    p,
                    strlen(p),