Changeset 12635


Ignore:
Timestamp:
04/25/10 07:06:04 (14 years ago)
Author:
ehuelsmann
Message:

Fix loading of stale fasls.

Patch by: David Kirkman dkirkman at ucsd dot edu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Load.java

    r12607 r12635  
    8585            LispObject abcl = Pathname.truename(abclPathname, false);
    8686            if (lisp instanceof Pathname && abcl instanceof Pathname) {
    87                 lispPathname = (Pathname)lisp;
    88                 abclPathname = (Pathname)abcl;
    89                 long lispLastModified = lispPathname.getLastModified();
    90                 long abclLastModified = abclPathname.getLastModified();
     87              lispPathname = (Pathname)lisp;
     88              abclPathname = (Pathname)abcl;
     89              long lispLastModified = lispPathname.getLastModified();
     90              long abclLastModified = abclPathname.getLastModified();
    9191              if (abclLastModified > lispLastModified) {
     92                  return abclPathname;  // fasl file is newer
     93              } else {
    9294                  return lispPathname;
    93               } else {
    94                   return abclPathname;
    9595              }
    9696            } else if (abcl instanceof Pathname) {
Note: See TracChangeset for help on using the changeset viewer.