[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] more: news from the valgrind front - another test ca
From: |
Jörg F . Wittenberger |
Subject: |
Re: [Chicken-users] more: news from the valgrind front - another test case |
Date: |
07 Oct 2011 22:49:42 +0200 |
On Oct 7 2011, Alan Post wrote:
Given the odd behavior you're experiencing, I would suggest
expanding your test case:
Good point. Here the results:
Now watch the interesting value (should be all 4 true a/a,i/i,a/i,i/a):
#t#t#f#f
That is:
(equal? *all-chars* *all-chars*)
=> #t
(equal? `(/ ,(integer->char 0)
,(integer->char #xD7FF)
,(integer->char #xE000)
,(integer->char #x10FFFF))
`(/ ,(integer->char 0)
,(integer->char #xD7FF)
,(integer->char #xE000)
,(integer->char #x10FFFF)))
=> #t
(equal? *all-chars*
`(/ ,(integer->char 0)
,(integer->char #xD7FF)
,(integer->char #xE000)
,(integer->char #x10FFFF)))
=> #f
(equal? `(/ ,(integer->char 0) ,(integer->char #xD7FF)
,(integer->char #xE000) ,(integer->char #x10FFFF))
*all-chars* )
=> #f
Or: comparison of just initialised value fails to be equal?
to the literal value.
Can you/anyone reproduce this result?
(So far valgrind not envolved, just this debug code in irregex-core.scm!)
/Jörg
- [Chicken-users] valgrind - more details, (continued)
- [Chicken-users] valgrind - more details, Jörg F . Wittenberger, 2011/10/05
- Re: [Chicken-users] valgrind - more details, Jörg F . Wittenberger, 2011/10/05
- Re: [Chicken-users] valgrind - more details, Jörg F . Wittenberger, 2011/10/05
- Re: [Chicken-users] valgrind - more details, Christian Kellermann, 2011/10/05
- Re: [Chicken-users] valgrind - more details, Jörg F . Wittenberger, 2011/10/06
- Re: [Chicken-users] valgrind - more details, Peter Bex, 2011/10/06
- Re: [Chicken-users] valgrind - more details, Jörg F . Wittenberger, 2011/10/06
- [Chicken-users] news from the valgrind front, Jörg F . Wittenberger, 2011/10/07
- [Chicken-users] more: news from the valgrind front - another test case, Jörg F . Wittenberger, 2011/10/07
- Re: [Chicken-users] more: news from the valgrind front - another test case, Alan Post, 2011/10/07
- Re: [Chicken-users] more: news from the valgrind front - another test case,
Jörg F . Wittenberger <=
- Re: [Chicken-users] more: news from the valgrind front - another test case, Alan Post, 2011/10/07
- Re: [Chicken-users] more: news from the valgrind front - another test case, Jörg F . Wittenberger, 2011/10/08
- Re: [Chicken-users] more: news from the valgrind front - another test case, Alan Post, 2011/10/08
- Re: [Chicken-users] more: news from the valgrind front - another test case, Jörg F . Wittenberger, 2011/10/08
- [Chicken-users] another news from the valgrind front, Jörg F . Wittenberger, 2011/10/11
- Re: [Chicken-users] another news from the valgrind front, Peter Bex, 2011/10/11