chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #1037: byte-blob-find fails on certain matches on 32-


From: Chicken Trac
Subject: [Chicken-janitors] #1037: byte-blob-find fails on certain matches on 32-bit Chicken
Date: Fri, 26 Jul 2013 00:55:49 -0000

#1037: byte-blob-find fails on certain matches on 32-bit Chicken
-------------------------------+--------------------------------------------
 Reporter:  dthedens           |       Owner:         
     Type:  defect             |      Status:  new    
 Priority:  major              |   Milestone:  someday
Component:  extensions         |     Version:  4.7.x  
 Keywords:  byte-blob, 32-bit  |  
-------------------------------+--------------------------------------------
 (byte-blob-find (list->byte-blob (list 1 31)) (list->byte-blob (list 0 1
 31 3)))

 fails to match on 32-bit, but succeeds on 64-bit.  Replace 31 with any
 byte value with low 5 bits all set (63, 95, etc.) and matches also fail.
 This may be related to the fact that internal function (swizzle 31) -> 0
 on 32-bit, but is #x80000000 on 64-bit.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1037>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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