﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1135	string-copy! bug	Mario Domenech Goulart		"While using the [http://wiki.call-cc.org/egg/gap-buffer gap-buffer egg] (implementation ported from Guile), I noticed a weird behavior in certain cases (see http://lists.gnu.org/archive/html/guile-devel/2014-06/msg00060.html)

Looks like the culprit is {{{string-copy!}}} (probably {{{C_substring_copy}}}), as it was in Guile's case (as [http://lists.gnu.org/archive/html/guile-devel/2014-06/msg00061.html pointed by Mark H Weaver]).

A test case from Guile's test suite illustrates the problem:

{{{
(let ((str (string-copy ""abcde"")))
  (string-copy! str 1 str 0 3) str)
=> ""aaaae""

Expected: ""aabce""
}}}"	defect	closed	major	4.10.0	core libraries	4.9.x	fixed	string-copy!, srfi-13		
