|
Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
|
0001081 |
[uClibc] Standards Compliance |
crash |
always |
11-05-06 14:51 |
09-24-08 08:31 |
|
|
Reporter |
uecasm |
View Status |
public |
|
|
Assigned To |
uClibc |
|
Priority |
normal |
Resolution |
fixed |
|
|
Status |
closed |
|
Product Version |
0.9.26 |
|
|
Summary |
0001081: lfind/lsearch prototype error |
|
Description |
(I checked the code in 0.9.28 and it seems to have the same issue)
In uClibc, the comparison function for lfind and lsearch is invoked using the array pointer followed by the key pointer.
However, according to my Debian man page that's the wrong way around. |
|
Additional Information |
The manpage states:
"The comparison function referenced by compar is expected to have two arguments which point to the key object and to an array member, in that order, and which returns zero if the key object matches the array member, and non-zero otherwise." |
|
|
Attached Files |
|
|
|