Skip to content
Snippets Groups Projects
Commit 5db8c252 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau
Browse files

2.011.3: fix infinite loop when a .asd file has a timestamp in the future.

The issue was reported by Sid H <shortsightedsid@gmail.com> on asdf-devel.
Problem is, when the filesystem server clock is in the future of
the system clock (either because the NFS server has a clock in the future,
or because the lisp host has a clock in the past),
defsystem would call find-system (via find-component via parse-component-form)
to make sure it modifies any previously registered object if any,
rather than create a new object with "interesting" consequences if anyone
held to the previous object.
find-system would see the file has been modified
since last registered with register-system,
and proceed to load again, in an infinite loop that stop
either when the Lisp process runs out of stack, or
the date and time specified in the timestamp is reached.
Now, ASDF doesn't bother reloading if the timestamp is in the future.
parent dada1116
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment