diff options
Diffstat (limited to 'Bugzilla/PatchReader/Raw.pm')
-rw-r--r-- | Bugzilla/PatchReader/Raw.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/PatchReader/Raw.pm b/Bugzilla/PatchReader/Raw.pm index b58ed3a2d..7e34bd4bf 100644 --- a/Bugzilla/PatchReader/Raw.pm +++ b/Bugzilla/PatchReader/Raw.pm @@ -234,7 +234,7 @@ sub iterate_file { my $this = shift; my ($filename) = @_; - open FILE, $filename or die "Could not open $filename: $!"; + open(FILE, '<', $filename) or die "Could not open $filename: $!"; $this->start_lines($filename); while (<FILE>) { $this->next_line($_); |