Index: trunk/phase3/maintenance/Maintenance.php |
— | — | @@ -310,7 +310,7 @@ |
311 | 311 | if ( $channel === null ) { |
312 | 312 | $this->cleanupChanneled(); |
313 | 313 | |
314 | | - $f = fopen( 'php://stdout', 'w' ); |
| 314 | + $f = fopen( 'php://stdout', 'a' ); |
315 | 315 | fwrite( $f, $out ); |
316 | 316 | fclose( $f ); |
317 | 317 | } |
— | — | @@ -331,7 +331,7 @@ |
332 | 332 | if ( php_sapi_name() == 'cli' ) { |
333 | 333 | fwrite( STDERR, $err . "\n" ); |
334 | 334 | } else { |
335 | | - $f = fopen( 'php://stderr', 'w' ); |
| 335 | + $f = fopen( 'php://stderr', 'a' ); |
336 | 336 | fwrite( $f, $err . "\n" ); |
337 | 337 | fclose( $f ); |
338 | 338 | } |
— | — | @@ -370,7 +370,7 @@ |
371 | 371 | return; |
372 | 372 | } |
373 | 373 | |
374 | | - $handle = fopen( 'php://stdout', 'w' ); |
| 374 | + $handle = fopen( 'php://stdout', 'a' ); |
375 | 375 | |
376 | 376 | // End the current line if necessary |
377 | 377 | if ( !$this->atLineStart && $channel !== $this->lastChannel ) { |
Index: trunk/phase3/RELEASE-NOTES-1.18 |
— | — | @@ -478,6 +478,7 @@ |
479 | 479 | already set above 1024 bytes |
480 | 480 | * (bug 32086) Special:PermanentLink now show an error message when no subpage |
481 | 481 | was specified. |
| 482 | +* (bug 31822) Error during upgrade due to output buffer reset in stdout |
482 | 483 | |
483 | 484 | === API changes in 1.18 === |
484 | 485 | * BREAKING CHANGE: action=watch now requires POST and token. |