Bug 821260
Summary: | Expand multi-byte patch incompatibilities | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrej Antas <cheaterblue> | ||||||
Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | kdudka, maxamillion, mbriza, ovasik, p, twaugh | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-08-20 11:47:33 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Andrej Antas
2012-05-13 16:12:27 UTC
Created attachment 584162 [details]
patch adding multi-byte functionality tests
Created attachment 599986 [details]
Proposed patch to fix the issue
Hello,
I'm attaching a patch that fixes the bug. The problem was, the function ignored when there is a blank (space, etc.) character on the beggining of the line.
However, I'm not entirely sure if the iswhite() call in the -2 branch of the switch is correct... or if the behavior there is what the program should do when a complete multibyte character was not parsed.
Sorry, I meant isblank(), not iswhite(). I think it should be fine - definitely better than before. Closing RAWHIDE. coreutils-8.17-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/coreutils-8.17-5.fc18 coreutils-8.17-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |