X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f9001779751f83dc8a10e478bfecb4d8dd5f964c..48ab98cb1779cf2088c1351ac3dd3d0da6fb31d3:/wp-includes/pomo/streams.php?ds=sidebyside diff --git a/wp-includes/pomo/streams.php b/wp-includes/pomo/streams.php index 289cc785..dbb1de80 100644 --- a/wp-includes/pomo/streams.php +++ b/wp-includes/pomo/streams.php @@ -3,7 +3,7 @@ * Classes, which help reading streams of data from files. * Based on the classes from Danilo Segan * - * @version $Id: streams.php 406 2010-02-07 11:10:24Z nbachiyski $ + * @version $Id: streams.php 718 2012-10-31 00:32:02Z nbachiyski $ * @package pomo * @subpackage streams */ @@ -22,7 +22,7 @@ class POMO_Reader { /** * Sets the endianness of the file. * - * @param string $endian 'big' or 'little' + * @param $endian string 'big' or 'little' */ function setEndian($endian) { $this->endian = $endian; @@ -106,7 +106,7 @@ if ( !class_exists( 'POMO_FileReader' ) ): class POMO_FileReader extends POMO_Reader { function POMO_FileReader($filename) { parent::POMO_Reader(); - $this->_f = fopen($filename, 'r'); + $this->_f = fopen($filename, 'rb'); } function read($bytes) {