aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:36:40 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:36:40 +0000
commita4ccd556996d5d4de56fd1d4d971a11ccb5bf50d (patch)
tree29356b44c98bd67b86189804707a4f399311de03 /lib
parentd81b88752058c966adda52eb65a621ab4be0b4a8 (diff)
downloadiurt-a4ccd556996d5d4de56fd1d4d971a11ccb5bf50d.tar
iurt-a4ccd556996d5d4de56fd1d4d971a11ccb5bf50d.tar.gz
iurt-a4ccd556996d5d4de56fd1d4d971a11ccb5bf50d.tar.bz2
iurt-a4ccd556996d5d4de56fd1d4d971a11ccb5bf50d.tar.xz
iurt-a4ccd556996d5d4de56fd1d4d971a11ccb5bf50d.zip
add a FIXME note
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Config.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Iurt/Config.pm b/lib/Iurt/Config.pm
index 0b27dc8..83251dd 100644
--- a/lib/Iurt/Config.pm
+++ b/lib/Iurt/Config.pm
@@ -214,6 +214,7 @@ sub dump_cache_par {
if (!$status) {
unlink $filename;
link "$filename.tmp.$daydate", $filename;
+ # FIXME: File::lockf isn't use(d) or require(d) and isn't even in the distro
File::lockf::ulock($file);
} else {
plog('WARN', "WARNING: locking the cache file $filename failed (status $status $!), try to lock manually");