|
Bugzilla – Full Text Bug Listing |
| Summary: | rpm/beecrypt uses -fsigned-char | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Olaf Hering <ohering> |
| Component: | Basesystem | Assignee: | Michael Schröder <mls> |
| Status: | VERIFIED WORKSFORME | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | pth |
| Version: | Alpha 5 plus | ||
| Target Milestone: | --- | ||
| Hardware: | PowerPC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | rpm.beecrypt-fsigned-char.patch | ||
|
Description
Olaf Hering
2006-10-22 17:52:41 UTC
Well, I won't go through the code and fix all bad instances of char. Feel free to send me a well tested patch if you have enough spare time. Created attachment 102259 [details]
rpm.beecrypt-fsigned-char.patch
so ppc uses signed char as default nowadays? no it doesnt, thats why it is removed. -fsigned-char was nothing but a band aid to work around broken code. look for new 'comparison is always true/false due to limited range of data type' warnings with this patch applied. char x; if (x < 0); this has to be 'signed char x' Forget it, I don't have time for that. Either you go through all the code, fix every issue, and do all the tests to ensure that it still works or I won't remove the -fsigned-char. that doesnt fix the bugs, obviously... there are no bugs, and s390x has also no -fsigned-char the only bug is in lib/query.c on 64bit, u32 cant hold ULONG_MAX query.c:579: warning: comparison is always false due to limited range of data type query.c:673: warning: comparison is always false due to limited range of data type (query.c is not in beecrypt, but rpm) If beecrypt works without -fsigned-char, why was it added to the Makefile in the first place? no idea why it was added, we wre all a bit clueless back in 2000. After 3 1/2 years can't this be closed, besides that in all this time it never changed to assigned? Yes, I think so. CLosed. |