chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #1835: Error in the utf8 egg's substring=?


From: Chicken Trac
Subject: Re: #1835: Error in the utf8 egg's substring=?
Date: Tue, 23 Apr 2024 16:22:21 -0000

#1835: Error in the utf8 egg's substring=?
-----------------------------------+----------------------
            Reporter:  siiky       |      Owner:  siiky
                Type:  defect      |     Status:  reopened
            Priority:  major       |  Milestone:  someday
           Component:  extensions  |    Version:  5.4.0
          Resolution:              |   Keywords:  utf8
Estimated difficulty:              |
-----------------------------------+----------------------
Changes (by siiky):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 {{{(substring=? "" "" 0 0 0)}}} results in a range error too. Sorry I
 forgot to update this ticket the other day.

 I believe the problem is in the lines {{{(##sys#check-range start1 0
 (##sys#size s1) 'substring=?)}}}, when the string is empty -- it amounts
 to {{{##sys#check-range 0 0 0 'substring=?)}}}.

 I can't tell what the obvious fix is, if there is one. Return {{{#t}}} if
 one of the strings is empty?

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1835#comment:2>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]