[Ecls-list] [Robert Goldman] Re: [asdf-devel] Cannot use latest git ECL (asdf/quicklisp are involved)
Matthew Mondor
mm_lists at pulsar-zone.net
Mon Jun 24 14:07:08 UTC 2013
On Mon, 24 Jun 2013 15:47:39 +0200
Didier Verna <didier at lrde.epita.fr> 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
More information about the ecl-devel
mailing list