r62901 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62900‎ | r62901 | r62902 >
Date:00:45, 24 February 2010
Author:mah
Status:ok
Tags:
Comment:
follow up r62806 - use “wb” for windows
Modified paths:
  • /trunk/phase3/maintenance/tests/UploadFromChunksTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/UploadFromChunksTest.php
@@ -18,7 +18,7 @@
1919
2020 function makeChunk( $content ) {
2121 $file = tempnam( wfTempDir(), "" );
22 - $fh = fopen( $file, "w" );
 22+ $fh = fopen( $file, "wb" );
2323 if ( $fh == false ) {
2424 $this->markTestIncomplete( "Couldn't open $file!\n" );
2525 return;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62806follow up r62231, r61779, r62175...mah02:15, 22 February 2010

Status & tagging log