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] [Resolved] (LUCY-172) Clownfish should slurp files in text mode
Date Fri, 01 Jul 2011 06:34:28 GMT

     [ https://issues.apache.org/jira/browse/LUCY-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marvin Humphrey resolved LUCY-172.
----------------------------------

    Resolution: Fixed
      Assignee: Marvin Humphrey

> 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
>            Assignee: 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