[armedbear-devel] loading stale fasls

Erik Huelsmann ehuels at gmail.com
Sun Apr 25 07:07:56 UTC 2010


Hi David,

On Sat, Apr 24, 2010 at 11:05 PM, David Kirkman <dkirkman at ucsd.edu> wrote:
> While trying to come up with reproducible thread errors this morning,
> I ran into trouble with abcl loading stale fasls.  e.g., If I change a
> lisp file, and don't recompile it (load "foo") will load "foo.abcl"
> and not the more recent "foo.lisp".
>
> I think that Load.java (line 91) is not doing (what I think) it's
> supposed to:
>
>             if (abclLastModified > lispLastModified) {
>                  return lispPathname;
>              } else {
>                  return abclPathname;
>              }
>
> I think we need to switcheroo lispPathname and abclPathname.  At least
> that makes abcl behave the way that I expect!  If that's the way it's
> supposed to work, here is a patch.

That's indeed how it's supposed to work. Thanks for the patch!

I committed the patch as r12635.


Bye,

Erik.




More information about the armedbear-devel mailing list