aboutsummaryrefslogtreecommitdiff
path: root/lib/App/Glacier/DB/GDBM.pm
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-12-12 15:45:51 +0200
committerSergey Poznyakoff <gray@gnu.org>2018-12-12 15:45:51 +0200
commit2d59fb4cbcfa3b6e14e236b501f5efdd8b32761d (patch)
treea2b6da1daec565ed2748df6ae82552b60a6aa763 /lib/App/Glacier/DB/GDBM.pm
parent6c6dab5d1784a57a22600af4fd7202293df18fa7 (diff)
downloadglacier-2d59fb4cbcfa3b6e14e236b501f5efdd8b32761d.tar.gz
glacier-2d59fb4cbcfa3b6e14e236b501f5efdd8b32761d.tar.bz2
Bugfix
* lib/App/Glacier/DB.pm (decode): use extra assignment to avoid the "attempt to copy freed scalar" panic. * lib/App/Glacier/Timestamp.pm (_to_timestamp): Rewrite the HASH part. * lib/App/Glacier/DB/GDBM.pm: Minor changes.
Diffstat (limited to 'lib/App/Glacier/DB/GDBM.pm')
-rw-r--r--lib/App/Glacier/DB/GDBM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Glacier/DB/GDBM.pm b/lib/App/Glacier/DB/GDBM.pm
index 075dc0c..24a4057 100644
--- a/lib/App/Glacier/DB/GDBM.pm
+++ b/lib/App/Glacier/DB/GDBM.pm
@@ -24,7 +24,7 @@ sub new {
# We can't tie the DB to $self->{_map} at once, in the new method, because
# this will cause coredumps in threaded code (see
# https://rt.perl.org/Public/Bug/Display.html?id=61912). So, the following
-# auxiliary method is used, which calls &$code with $self->{_mode} tied
+# auxiliary method is used, which calls &$code with $self->{_map} tied
# to the DB.
sub _tied {
my ($self, $code) = @_;

Return to:

Send suggestions and report system problems to the System administrator.