Check for go/scm mtime ordering rather than equality.
* am/guilec (install-data-hook): Remove. (guile_install_go_files): New variable. ($(guile_install_go_files)): New dependency. * libguile/load.c (compiled_is_fresh): Check for ordering of STAT_SOURCE and STAT_COMPILED, not equality. * module/ice-9/boot-9.scm (load): Ditto. * module/system/base/compile.scm (call-with-output-file/atomic): Don't set the timestamp of TEMPLATE.
This commit is contained in:
parent
a2a95453eb
commit
fefd60ba4b
4 changed files with 10 additions and 26 deletions
|
|
@ -81,11 +81,6 @@
|
|||
(proc tmp)
|
||||
(chmod tmp (logand #o0666 (lognot (umask))))
|
||||
(close-port tmp)
|
||||
(if reference
|
||||
(let ((st (stat reference)))
|
||||
(utime template
|
||||
(stat:atime st) (stat:mtime st)
|
||||
(stat:atimensec st) (stat:mtimensec st))))
|
||||
(rename-file template filename))
|
||||
(lambda args
|
||||
(delete-file template)))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue