WordPress.org

GlotPress

Changeset 597


Ignore:
Timestamp:
01/16/11 20:14:36 (3 years ago)
Author:
nbachiyski
Message:

Do not break new line characters on windows, fixes http://core.trac.wordpress.org/ticket/14882

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pomo/streams.php

    r406 r597  
    107107    function POMO_FileReader($filename) { 
    108108        parent::POMO_Reader(); 
    109         $this->_f = fopen($filename, 'r'); 
     109        $this->_f = fopen($filename, 'rb'); 
    110110    } 
    111111     
Note: See TracChangeset for help on using the changeset viewer.