On Sat 07 Jan 2012 16:43, Mark H Weaver <m...@netris.org> writes:

>> Subject: [PATCH] Fix bugs related to mutation-sharing substrings
Cool!

> I committed this.  Here's an example that segfaulted before these fixes:
>
>   scheme@(guile-user)> (define s (string-copy "hello"))
>   scheme@(guile-user)> (define ss (substring/shared s 1 4))
>   scheme@(guile-user)> (string-set! ss 0 #\λ)
>   Segmentation fault

Probably a good idea to add it (or something like it) to the test suite
:)

Andy
-- 
http://wingolog.org/

Reply via email to