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

        

Reply via email to