Summary: | fc-lang cannot handle CR/LF line endings | ||
---|---|---|---|
Product: | fontconfig | Reporter: | Daniel Stone <daniel> |
Component: | library | Assignee: | Keith Packard <keithp> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | high | ||
Version: | 2.3 | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | fixes the CR/LF line ending problem |
Description
FreeDesktop Bugzilla Database Corruption Fix User
2005-06-02 08:26:08 UTC
Created attachment 2816 [details] [review] fixes the CR/LF line ending problem now it tests for both CR and LF in a while() loop to catch both if they exist This function should probably strip all whitespace on both sides of the filename. Could you provide a patch using 'isspace' instead of this explicit test against the two characters? I committed a modified version of this patch, pulling up the \r stripping to get_line. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.