Hi, 

I just fixed a bug, which might have confusing effects on existing code.
The change is more delphi compatible, so if your code already works on both,
you can skip it.

Bug 6279 involves removing IO checking from (objpas.)closefile() (which is a
delphi wrapper over system.close()). 

So originally, the closefile would simply closed the file if possible, and
never raised exceptions. 

Now it uses the global {$I} state, so it might be possible that code with
not enough checking that didn't generate exceptions before on closefile()
now starts raising them.  
The emergency workaround is to put {$I-} {$I+} or try except handling around
them.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to