summaryrefslogtreecommitdiff
path: root/libguile/print.c
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2019-04-16 23:11:42 -0400
committerAndy Wingo <wingo@pobox.com>2019-05-23 17:41:48 +0200
commit7e208c8f256ac4d7ef670655aa42711433fdd781 (patch)
treebf7b15f25a639d041e1f6d4a2cdfbff12cf33a84 /libguile/print.c
parentfd4ba18bca1c6000fc0dd417a5b489e1ac60e0d9 (diff)
downloadguile-7e208c8f256ac4d7ef670655aa42711433fdd781.tar.gz
Reimplement SCM_MAKE_CHAR to evaluate its argument only once.
The motivation for this change is that SCM_MAKE_CHAR is sometimes passed an expression that involves a procedure call that is not always trivial. In other cases, the results are not guaranteed to be the same both times, which could lead to the creation of invalid SCM objects. * libguile/chars.h (SCM_MAKE_CHAR): Reimplement.
Diffstat (limited to 'libguile/print.c')
0 files changed, 0 insertions, 0 deletions