Fix 'string-copy!' to work properly with overlapping src/dest.
authorMark H Weaver <mhw@netris.org>
Wed, 25 Dec 2013 10:10:19 +0000 (05:10 -0500)
committerMark H Weaver <mhw@netris.org>
Thu, 9 Jan 2014 02:42:24 +0000 (21:42 -0500)
commit793e8a9317d24298c82389bdf86b8ca17b4ee2f0
tree44df01f67907fdbd39260111a2baafdc8beadc8b
parent900a897cd31df98df06b84a478b77a7438739b54
Fix 'string-copy!' to work properly with overlapping src/dest.

* libguile/srfi-13.c (scm_string_copy_x): Fix to work properly with
  overlapping src/dest.

* test-suite/tests/srfi-13.test ("string-copy!"): Add tests.
libguile/srfi-13.c
test-suite/tests/srfi-13.test