Bug 147567
Summary: | sort -t mb handling broken -- affects LSB 1.3 conformance | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Jakub Jelinek <jakub> | ||||
Component: | coreutils | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | ezannoni, llim | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2005-194 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-06-09 12:06:14 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 137160, 142941, 145007, 158752 | ||||||
Attachments: |
|
Description
Jakub Jelinek
2005-02-09 12:52:22 UTC
Created attachment 110864 [details]
Patch to fix the bug
Affects FC3/FC4 as well and likely (but untested) RHEL3 too. *** Bug 147568 has been marked as a duplicate of this bug. *** Thanks. 5.2.1-41 built in devel. Committed to CVS in RHEL-4. While porting to RHEL-3 I found that the sort-mb-tests already pass without any changes to sort.c, beyond what's already in CVS. Looking at RHEL3 coreutils-i18n.patch this is no wonder to me. +static unsigned char tab[MB_LEN_MAX + 1]; tab has been a char array, not int as in RHEL4, etc. From what I can see, RHEL4 sort against RHEL3 sort (in both cases without i18n patch) added -t '\0' handling and error for -t a -t b and the former caused int tab;. Can this be put in modified? No, it hasn't been built for RHEL4. Should it be built for RHEL4? If so, targetting which update release? update 1, since we are targetting LSB compliance with that update. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-194.html |