Ticket #13: ruby.1.9.patch

File ruby.1.9.patch, 541 bytes (added by anshul, 2 years ago)

Fix?

  • Linguistics/lib/linguistics/iso639.rb

     
    1919    # Read through the source for this file, capturing everything 
    2020    # between __END__ and __END_DATA__ tokens. 
    2121    in_data_section = false 
    22     File::readlines( __FILE__ ).each {|line| 
     22    File.new( __FILE__, 'rb' ).readlines.each {|line| 
    2323        case line 
    2424        when /^__END_DATA__$/ 
    2525            in_data_section = false