summaryrefslogtreecommitdiff
path: root/benchmark-suite
diff options
context:
space:
mode:
authorDaniel Llorens <daniel.llorens@bluewin.ch>2017-09-15 12:36:57 +0200
committerDaniel Llorens <daniel.llorens@bluewin.ch>2017-10-31 13:23:17 +0100
commit4212f29655db2e9ddca19ebd590bca5521c1b97b (patch)
tree962aafd11f614e068cdae1da2c54f8fb626e82b4 /benchmark-suite
parent1008ea315483d1fb41b2a8c10680e511238836d0 (diff)
downloadguile-4212f29655db2e9ddca19ebd590bca5521c1b97b.tar.gz
Allow scm_XXX_writable_elements on empty vectors, even if immutable
* libguile/array-handle.c (initialize_vector_handle): Set both element pointers to NULL if the vector is empty. * libguile/array-map.c (racp): Ignore immutability if destination is empty. * test-suite/tests/sort.test: Check empty/mutable/immutable vectors with sort!. * test-suite/tests/array-map.test: Check array-copy! with empty/immutable destination.
Diffstat (limited to 'benchmark-suite')
0 files changed, 0 insertions, 0 deletions