Changeset 13290


Ignore:
Timestamp:
05/24/11 12:24:46 (10 years ago)
Author:
Mark Evenson
Message:

Strip VERSION from the source location output by COMPILE-FILE.

ABCL currently outputs non-readable--by the Lisp reader--namestrings
for any PATHNAME with a non-NIL VERSION. With the recent fixes to how
ABCL deals with VERSION components by defaulting to the ANSI specified
:NEWEST in MERGE-PATHNAMES, this breaks ASDF compiliation which tends
to acculumlate such PATHNAMES in its labryinth of cross-implementation
TRUENAMIZE* and LISPIZE-PATHNAME invocations. Since VERSION doesn't
really have an effect on the filesystems that ABCL deals with we just
silently nip it to NIL before forming our FASL source location.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/compile-file.lisp

    r13275 r13290  
    537537    (with-open-file (in input-file :direction :input)
    538538      (let* ((*compile-file-pathname* (pathname in))
    539              (*compile-file-truename* (truename in))
     539             (*compile-file-truename* (make-pathname :defaults (truename in)
     540                                                     :version nil))
    540541             (*source* *compile-file-truename*)
    541542             (*class-number* 0)
Note: See TracChangeset for help on using the changeset viewer.