On Mon, 24 Jun 2013 15:47:39 +0200
Didier Verna <[email protected]> wrote:
> So if ECL is raising a SIMPLE-ERROR instead, that would be a bug in ECL,
> and not in ASDF.
>
> One thing that seems odd is that it seems ECL is claiming that it's
> asked to delete a directory, not a file. Can you trap the argument to
> DELETE-FILE-IF-EXISTS?
These seem reversed in unixfsys.d's cl_delete_file():
const char *msg =
isdir?
"Cannot delete the file ~S.~%C library error: ~S" :
"Cannot delete the directory ~S.~%C library error: ~S";
And to signal error this code is used:
si_signal_simple_error
(6, @'file-error', /* condition */
ECL_T, /* continuable */
ecl_make_constant_base_string(msg,strlen(msg)), /*
format */
cl_list(2, file, c_error), /* format args */
@':pathname', /* file-error options */
file);
With at the REPL debugger the type reported:
Condition of type: SIMPLE-FILE-ERROR
--
Matt
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ecls-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecls-list