瀏覽代碼

* disable iochecking when opening terminal (to avoid RTE of #11376).
This is damage control. The prime problem (text after pid) as described in
that bugrepo still has to be fixed.

git-svn-id: trunk@11462 -

marco 17 年之前
父節點
當前提交
e6410f45c1
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      rtl/linux/linuxvcs.pp

+ 2 - 0
rtl/linux/linuxvcs.pp

@@ -95,7 +95,9 @@ begin
   repeat
     str(pid,s);
     assign(f,'/proc/'+s+'/stat');
+    {$I-}
     reset(f);
+    {$I+}
     if ioresult<>0 then
       break;
     read(f,dummy);