Browse Source

* regenerated

peter 21 years ago
parent
commit
e3fcd02f26
1 changed files with 11 additions and 1 deletions
  1. 11 1
      utils/h2pas/h2pas.pas

+ 11 - 1
utils/h2pas/h2pas.pas

@@ -7803,7 +7803,14 @@ begin
      halt(1);
    end;
   assign(outfile, outputfilename);
+  {$I-}
   rewrite(outfile);
+  {$I+}
+  if ioresult<>0 then
+   begin
+     writeln('file ',outputfilename,' could not be created!');
+     halt(1);
+   end;
 { write unit header }
   if not includefile then
    begin
@@ -7873,9 +7880,12 @@ end.
 
 {
   $Log$
-  Revision 1.9  2004-05-23 18:25:53  peter
+  Revision 1.10  2004-06-23 14:45:37  peter
     * regenerated
 
+  Revision 1.7  2004/06/20 17:56:05  marco
+   Patch from Christian Iversen. ioresult check when opening for output
+
   Revision 1.6  2003/02/13 22:20:24  michael
   + Patch from Jeff Pohlmeyer to process empty structs