diff options
author | Andy Wingo <wingo@pobox.com> | 2009-06-03 23:20:44 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2009-06-03 23:20:44 +0200 |
commit | 6fd367e742f42421d81362a6ee8b51bb7b35a9ab (patch) | |
tree | 8ec55c732abb594f5d0fc652248f76aa429dc590 /test-suite/tests/elisp.test | |
parent | ee001750269b34179a90aa5c0dc90bd0ffdb8869 (diff) | |
download | guile-6fd367e742f42421d81362a6ee8b51bb7b35a9ab.tar.gz |
tweaks to autocompile code
* libguile/load.c (compiled_is_newer): Tweak diagnostic output.
(do_try_autocompile, autocompile_catch_handler, scm_try_autocompile):
Rework to compute the name of the compiled file in advance. If the
computed name is different from the found .go file and is fresh, use it
directly.
Fixes the case where /usr/lib/.../foo.go is out of date but the user
doesn't have permissions to recompile, so we use the user's local
compile cache instead if it's fresh.
(scm_primitive_load): Pass the found .go file as well to
scm_try_autocompile.
Diffstat (limited to 'test-suite/tests/elisp.test')
0 files changed, 0 insertions, 0 deletions