Re: Fixed string corruption bugs

2012-01-07 Thread Andy Wingo
On Sat 07 Jan 2012 16:43, Mark H Weaver 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 (s

Re: Fixed string corruption bugs (was Guile: What's wrong with this?)

2012-01-07 Thread Mark H Weaver
> From a8da72937ff4d04e8d39531773cc05e676b2be1c Mon Sep 17 00:00:00 2001 > From: Mark H Weaver > Date: Wed, 4 Jan 2012 17:59:27 -0500 > Subject: [PATCH] Fix bugs related to mutation-sharing substrings > > * libguile/strings.c (scm_i_is_narrow_string, scm_i_try_narrow_string, > scm_i_string_set_x