diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-03-18 22:28:37 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-03-19 22:17:40 +0100 |
commit | 05588a1acea43792f33ea632af0d316e847fa9db (patch) | |
tree | 28d93f73da8107a02d728b37649dc7545a1d15ec /libguile/objcodes.c | |
parent | e0a3ad670bf43b9815bec31b83417de2bc3c2784 (diff) | |
download | guile-05588a1acea43792f33ea632af0d316e847fa9db.tar.gz |
Have `scm_take_locale_symbol ()' return an interned symbol (fixes bug #25865).
* libguile/symbols.c (intern_symbol): New function, with code formerly
duplicated in `scm_i_c_mem2symbol ()' and `scm_i_mem2symbol ()'.
(scm_i_c_mem2symbol, scm_i_mem2symbol): Use it.
(scm_take_locale_symboln): Use `intern_symbol ()'. This fixes
bug #25865.
* test-suite/standalone/Makefile.am
(test_scm_take_locale_symbol_SOURCES,
test_scm_take_locale_symbol_CFLAGS,
test_scm_take_locale_symbol_LDADD): New variables.
(check_PROGRAMS, TESTS): Add `test-scm-take-locale-symbol'.
Diffstat (limited to 'libguile/objcodes.c')
0 files changed, 0 insertions, 0 deletions