Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-05-24 09:51:50 -0700 (Thu, 24 May 2007)
Revision: 10809
Log message:
Be a bit more careful not to do
try
...;
Unix.close fd;
...
with exn ->
close fd;
raise exn
since this may result in closing the same fd twice in case the second "..."
raises an exception.
Changes | Path |
+8 -6 | omake-branches/0.9.8.2/src/builtin/omake_builtin_file.ml |
+5 -3 | omake-branches/0.9.8.2/src/ir/omake_cache.ml |