summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Error
diff options
context:
space:
mode:
Diffstat (limited to 'fml/lib/FML/Error')
-rw-r--r--fml/lib/FML/Error/Cache.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/fml/lib/FML/Error/Cache.pm b/fml/lib/FML/Error/Cache.pm
index f434001b..6df1f62a 100644
--- a/fml/lib/FML/Error/Cache.pm
+++ b/fml/lib/FML/Error/Cache.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Cache.pm,v 1.17 2004/01/01 08:48:41 fukachan Exp $
+# $FML: Cache.pm,v 1.18 2004/01/31 14:12:17 fukachan Exp $
#
package FML::Error::Cache;
@@ -61,6 +61,10 @@ sub new
$curproc->mkdir($db_dir, "mode=private");
}
+ use Tie::JournaledDir;
+ my $obj = new Tie::JournaledDir { dir => $db_dir };
+ $obj->expire();
+
return bless $me, $type;
}