Skip to content

Commit

Permalink
Item13776: Change in stat call parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Oct 2, 2015
1 parent a1daad6 commit b9518ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Foswiki/Logger/PlainFile.pm
Expand Up @@ -54,7 +54,8 @@ 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 b9518ac

Please sign in to comment.