Changes http://wiki.axiom-developer.org/302CannotRenameTheFileErlibToNRLIB/diff
--
In since 'GCL verison 2.6.7pre' the lisp function 'probe-file' returns
'nil' for directories. This caused the delete-directory functioin to be
skipped which then caused rename-file to fail.

I have patched the current Axiom Silver build.improvements branch
'src/interp/nlib.lisp.pamphlet' file as follows::

  replaced '(probe-file filearg)' with '(directory (truename filearg))' in

  ;; ($ERASE filearg) -> 0 if succeeds else 1
  (defun $erase (&rest filearg)
    (setq filearg (make-full-namestring filearg))
    (if (directory (truename filearg))
  #+:CCL (delete-file filearg)
  #+:AKCL
        (if (library-file filearg)
            (delete-directory filearg)
            (delete-file filearg))
        1))

I built a new version of Axiom and installed in on MathAction
(AxiomWiki and AxiomPortal). Please let me know if you see any
problems related to this change on these web sites.

Thanks.
--
forwarded from http://wiki.axiom-developer.org/[EMAIL PROTECTED]

Reply via email to