lucy-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Humphrey (JIRA)" <j...@apache.org>
Subject [lucy-issues] [jira] [Created] (LUCY-172) Clownfish should slurp files in text mode
Date Fri, 01 Jul 2011 00:44:28 GMT
Clownfish should slurp files in text mode
-----------------------------------------

                 Key: LUCY-172
                 URL: https://issues.apache.org/jira/browse/LUCY-172
             Project: Lucy
          Issue Type: Bug
          Components: Clownfish
    Affects Versions: 0.1.0 (incubating)
            Reporter: Marvin Humphrey
            Priority: Minor
             Fix For: 0.1.1 (incubating), 0.2.0 (incubating)


Clownfish slurps files in binary mode but writes some files in text
mode, causing mangled line endings on Windows.  The fix is to replace
slurp_file() with a slurp_text() function which operates in text mode
and normalizes line endings on the way in.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message