diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-09-22 22:51:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-09-23 18:44:27 +0200 |
commit | fd2b17b9cb7aaa6b550ad9b6a3efe3c53c94ccce (patch) | |
tree | 02aa2b139dcf907ded34e5e03477f5dcaedf806c /libguile/strings.h | |
parent | 1dd797921c950f0a4d396faa6d7326ec6928e771 (diff) | |
download | guile-fd2b17b9cb7aaa6b550ad9b6a3efe3c53c94ccce.tar.gz |
Make `symbol->string' return a read-only string.
* libguile/strings.c (scm_i_symbol_substring): Return a read-only string
since R5RS requires `symbol->string' to return a read-only string.
Reported by Bill Schottstaedt <bil@ccrma.Stanford.EDU>.
* test-suite/tests/symbols.test: Add `define-module' clause.
(exception:immutable-string): Adjust to current exception.
("symbol->string")["result is an immutable string"]: Use
`pass-if-exception' instead of `expect-fail-exception'.
* NEWS: Update.
Diffstat (limited to 'libguile/strings.h')
0 files changed, 0 insertions, 0 deletions