You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2011/07/01 08:34:28 UTC
[lucy-issues] [jira] [Resolved] (LUCY-172) Clownfish should slurp files in text
mode
[ 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