1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

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.
This commit is contained in:
Andy Wingo 2009-08-28 17:12:15 +02:00
parent ce3ed0125f
commit 5950cc3fcc

View file

@ -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);
}
}