diff options
author | Andy Wingo <wingo@pobox.com> | 2009-06-05 10:51:21 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2009-06-05 10:51:21 +0200 |
commit | 535fb833b34dfc3cc11a679d39390b06fd7e9180 (patch) | |
tree | c5beaec102880fc659d35dd9eb718e0e321de9ba /libguile/vm-i-system.c | |
parent | 822aacbcf4167a860c3d6bca2692ef88f5f6ef3e (diff) | |
download | guile-535fb833b34dfc3cc11a679d39390b06fd7e9180.tar.gz |
stamp .go with timestamp of .scm; a fresh go has same mtime of .scm
* libguile/load.c (compiled_is_fresh): Rename from compiled_is_newer.
Check that the mtines of the .go and .scm match exactly, so we don't
get fooled by rsync-like modifications of the filesystem.
* module/system/base/compile.scm (call-with-output-file/atomic): Add
optional arg, a reference file. If present we utime the output file to
match the source file, before the rename.
(compile-file): Stamp the .go file with the timestamp of the .scm.
Diffstat (limited to 'libguile/vm-i-system.c')
0 files changed, 0 insertions, 0 deletions