瀏覽代碼

* iocheck for closefile

git-svn-id: trunk@3946 -
marco 19 年之前
父節點
當前提交
fe43dc6266
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      rtl/objpas/objpas.pp

+ 2 - 2
rtl/objpas/objpas.pp

@@ -120,7 +120,7 @@ begin
   System.Assign (F,C);
 end;
 
-Procedure CloseFile(Var f:File);
+Procedure CloseFile(Var f:File); [IOCheck];
 
 begin
   { Catch Runtime error/Exception }
@@ -147,7 +147,7 @@ begin
   System.Assign (T,C);
 end;
 
-Procedure CloseFile(Var t:Text);
+Procedure CloseFile(Var t:Text); [IOCheck];
 
 begin
   { Catch Runtime error/Exception }