[Openmcl-devel] close on abort
dvd at davidashen.net
Mon Sep 5 02:07:04 PDT 2005
On 05.09.2005, at 13:57, Gary Byers wrote:
> Aside from getting the pathname wrong, some of this code seems
> to call CL:RENAME-FILE with an :IF-EXISTS keyword argument.
> CL:RENAME-FILE isn't really supposed to take any keyword arguments.
> But ...
> If the lower-level function that actually does the renaming complains
> that the output file already exists, it'd make sense if
> (rename-file file new-name :if-exists :overwrite)
> found some way to overwrite the existing file.
Judging by the code, it does -- it checks (via a call to if-exists)
whether it is allowed to overwrite, it is just the wrong name of the
target file coming into play only if the computation is aborted that
is the problem.
More information about the Openmcl-devel