Fix #1570 : php 4.2.x error on conflict merging

This commit is contained in:
Antoine Musso 2005-03-04 12:55:37 +00:00
parent f4c6d815fd
commit e24061460b

View file

@ -783,7 +783,7 @@ function wfMerge( $old, $mine, $yours, &$result ){
wfEscapeShellArg( $yourtextName );
$handle = popen( $cmd, 'r' );
if( fgets( $handle ) ){
if( fgets( $handle, 1024 ) ){
$conflict = true;
} else {
$conflict = false;