Commit a8e69085 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

[bug] mtime for cache file like .last_change.admin on some filesystems like...

[bug] mtime for cache file like .last_change.admin on some filesystems like NFS with Linux was not updated.  Fixed by updating it explicitly with utime().
parent 313a004e
...@@ -648,6 +648,7 @@ sub _cache_publish_expiry { ...@@ -648,6 +648,7 @@ sub _cache_publish_expiry {
# Touch status file. # Touch status file.
my $fh; my $fh;
open $fh, '>', $stat_file and close $fh; open $fh, '>', $stat_file and close $fh;
utime undef, undef, $stat_file; # required for such as NFS.
} }
sub _cache_read_expiry { sub _cache_read_expiry {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment