summaryrefslogtreecommitdiff
path: root/fml/lib/IO/Adapter
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-02-03 04:15:32 +0000
committerfukachan <fukachan>2004-02-03 04:15:32 +0000
commita7902cc336e4fa4e958cab31a70ae5aa924e566e (patch)
tree6e034f109aba6d3dbc673078a86267131c1803ce /fml/lib/IO/Adapter
parentd86e42b1d1023bf0635f885e384b7a114529e5a9 (diff)
downloadfml8-a7902cc336e4fa4e958cab31a70ae5aa924e566e.tar.gz
fml8-a7902cc336e4fa4e958cab31a70ae5aa924e566e.tar.bz2
fml8-a7902cc336e4fa4e958cab31a70ae5aa924e566e.zip
fix meta escape needed in finding key.
Diffstat (limited to 'fml/lib/IO/Adapter')
-rw-r--r--fml/lib/IO/Adapter/File.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/fml/lib/IO/Adapter/File.pm b/fml/lib/IO/Adapter/File.pm
index 587b413e..c286f443 100644
--- a/fml/lib/IO/Adapter/File.pm
+++ b/fml/lib/IO/Adapter/File.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: File.pm,v 1.50 2003/11/27 04:26:09 fukachan Exp $
+# $FML: File.pm,v 1.51 2004/01/24 09:03:56 fukachan Exp $
#
package IO::Adapter::File;
@@ -444,6 +444,7 @@ sub delete
my $wh = $self->{ _wh };
if (defined $fh) {
+ my $key = quotemeta($key);
my $buf;
FILE_IO: