From a9ec2b1493eb9df269aebbbc9e219a66b873965f Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 13 Feb 2010 13:46:29 +0000 Subject: [PATCH] parserTests.txt shall be opened in text mode. Followup of r62006 which broke parser tests on windows (crlf line endings). --- maintenance/parserTests.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index ae12c20998..8bd1c202cb 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -1562,7 +1562,7 @@ class TestFileIterator implements Iterator { global $IP; $this->file = $file; - $this->fh = fopen($this->file, "r"); + $this->fh = fopen($this->file, "rt"); if( !$this->fh ) { wfDie( "Couldn't open file '$file'\n" ); } -- 2.20.1