Skip to content

Commit

Permalink
Item13749: Dont call stat with @_
Browse files Browse the repository at this point in the history
Thanks to JozefMojzis for the fix.  Compatibilty with perl 5.24.
  • Loading branch information
gac410 committed Sep 25, 2015
1 parent 9114d13 commit 7caaabe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Logger/PlainFile.pm
Expand Up @@ -85,7 +85,7 @@ our %nextCheckDue = (
# Symbols used so we can override during unit testing
our $dontRotate = 0;
sub _time { time() }
sub _stat { stat(@_); }
sub _stat { @_ ? stat( $_[0] ) : stat() }

sub new {
my $class = shift;
Expand Down

0 comments on commit 7caaabe

Please sign in to comment.