Opened 6 years ago

Closed 6 years ago

#1534 closed defect (fixed)

string<=? and string>=? return the wrong value for some strings

Reported by: sjamaan Owned by:
Priority: major Milestone: 5.0
Component: core libraries Version: 5.0.0rc2
Keywords: Cc:
Estimated difficulty: easy

Description

Nils Holm found a bug in string<=? and string>=?, which Sven Hartrumpf forwarded to our mailing list:

The issue reported by Nils Holm in http://groups.google.com/group/comp.lang.scheme/t/6b8be06b84b39a7 affects chicken 5, too:

(string-ci<=? "test" "tes")
#t
(string-ci>=? "test" "tes")
#f

This should be fixed in the chicken-4 branch as well as master.

Change History (3)

comment:1 Changed 6 years ago by sjamaan

Version: 4.13.05.0.0rc2

comment:2 Changed 6 years ago by felix winkelmann

Fix posted on chicken-hackers. Note that C4 seems to be ok - when this was fixed is not clear to me.

comment:3 Changed 6 years ago by sjamaan

Resolution: fixed
Status: newclosed

Fixed with 31bcafcf3014e128a462e48b0a35915a1180b5f4 (master) and 9b1694d542d0839b64774f96ece4a189498105c2 (chicken-4)

Note: See TracTickets for help on using tickets.