Bug 661506
Summary: | wins_nwstr works incorrectly in cs_CZ.UTF-8, breaking aspell and probably others | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jaroslav Škarvada <jskarvad> | ||||||
Component: | ncurses | Assignee: | Miroslav Lichvar <mlichvar> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 14 | CC: | dickey, jskarvad, mlichvar, varekova | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | ncurses-5.7-9.20100703.fc14 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-12-23 19:54:47 UTC | Type: | --- | ||||||
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
Jaroslav Škarvada
2010-12-08 21:08:17 UTC
Created attachment 467580 [details]
reproducer
Created attachment 467585 [details]
Possible patch
The problem: some chars in cs_CZ.UTF-8 locale (and probably other locales as well) are single bytes, but not ASCII, thus they are not correctly processed. The attached patch should fix it. But it is possible that there are more such "broken" calls in ncurses.
I can reproduce this with 20101128 patch too. It's fixed in upstream patch 20101211. Thanks. The two changes in lib_ins_wch are included in ncurses-5.7-9.20100703.fc14. ncurses-5.7-9.20100703.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/ncurses-5.7-9.20100703.fc14 no problem (I reviewed my test-programs for that area, and still have some to-do's for the test-programs, but didn't find any more library fixes to make). ncurses-5.7-9.20100703.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ncurses'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/ncurses-5.7-9.20100703.fc14 ncurses-5.7-9.20100703.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |