summaryrefslogtreecommitdiff
path: root/libguile/load.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-08-28 17:12:15 +0200
committerAndy Wingo <wingo@pobox.com>2009-08-28 17:13:09 +0200
commit5950cc3fcc7fb0d13be23fcccb8916fd8c2da4e2 (patch)
tree85ca684f205d5de8431d825a6c561d92ad88b794 /libguile/load.c
parentce3ed0125fcfb9ad09da815f133a2320102d164c (diff)
downloadguile-5950cc3fcc7fb0d13be23fcccb8916fd8c2da4e2.tar.gz
fix case in which compiled path had stale .go, but fallback had fresh .go
* libguile/load.c (scm_primitive_load_path): If the compiled path was out of date, but the fallback path was current, we correctly detected that case, but loaded the wrong file. So here fix the typo.
Diffstat (limited to 'libguile/load.c')
-rw-r--r--libguile/load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/load.c b/libguile/load.c
index 29ef74a6c..41db90c6a 100644
--- a/libguile/load.c
+++ b/libguile/load.c
@@ -752,7 +752,7 @@ SCM_DEFINE (scm_primitive_load_path, "primitive-load-path", 1, 1, 0,
scm_puts (";;; found fresh local cache at ", scm_current_error_port ());
scm_display (fallback, scm_current_error_port ());
scm_newline (scm_current_error_port ());
- return scm_load_compiled_with_vm (compiled_filename);
+ return scm_load_compiled_with_vm (fallback);
}
}