String comparison procedures broken

Bug #298291 reported by Derick Eddington
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Fix Committed
High
Abdulaziz Ghuloum

Bug Description

Ikarus Scheme version 0.0.3+ (revision 1677, build 2008-11-14)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> (string<? "asdf")
Unhandled exception
 Condition components:
   1. &assertion
   2. &who: string<?
   3. &message: "not a string"
   4. &irritants: ("asdf")
> (string<? "asdf" "blah")
#t
> (string<? "asdf" "blah" "foo")
Unhandled exception
 Condition components:
   1. &assertion
   2. &who: string<?
   3. &message: "not a string"
   4. &irritants: ("foo")
> (string<? "asdf" "blah" "foo" "zab")
Unhandled exception
 Condition components:
   1. &assertion
   2. &who: string<?
   3. &message: "not a string"
   4. &irritants: ("zab")
>
> (string>? "asdf" "blah" "foo" "zab")
Unhandled exception
 Condition components:
   1. &assertion
   2. &who: string>?
   3. &message: "not a string"
   4. &irritants: ("blah")
> (string=? "asdf" "blah" "foo" "zab")
#f
> (string>=? "asdf" "blah" "foo" "zab")
Unhandled exception
 Condition components:
   1. &assertion
   2. &who: string>=?
   3. &message: "not a string"
   4. &irritants: ("blah")
>

Related branches

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Bizarre! Fixed in 1678.

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

there's a "0" that was added into the error message. I removed it and will push it in next commit. (don't report it :-))

Changed in ikarus:
milestone: none → 0.0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.