diff options
author | Joey Hess <joey@kitenet.net> | 2010-04-20 14:23:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-04-20 14:23:48 -0400 |
commit | 59bb1f1db37d8b8170e5dd8e5a857df7742bffb9 (patch) | |
tree | a66b106556e127b7dcb031bd13b7aab77f822092 /IkiWiki | |
parent | 1f56dead00ee1188d9ed9650b9b2483b69c4d525 (diff) |
fix stat to use unmunged filename
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/comments.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 03ca19c98..ccc9e1068 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -653,7 +653,7 @@ sub comments_pending () { elsif (! -l $_ && ! -d _) { my ($f) = $file =~ /$config{wiki_file_regexp}/; # untaint if (defined $f && $f =~ /\Q._comment\E$/) { - my $ctime=(stat($f))[10]; + my $ctime=(stat($_))[10]; push @ret, [$f, $ctime]; } } |