summaryrefslogtreecommitdiffstats
path: root/glob.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-09-07 07:46:39 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-09-07 21:56:12 -0700
commit90a37de844401a2269dec7d2e2b4b48c934c88c3 (patch)
tree87976c998337fa90e1b897fc6e47536119d0ae63 /glob.h
parentb8ba39ca691b71d2d6f66959c0787693c563dc4f (diff)
downloadtxr-90a37de844401a2269dec7d2e2b4b48c934c88c3.tar.gz
txr-90a37de844401a2269dec7d2e2b4b48c934c88c3.tar.bz2
txr-90a37de844401a2269dec7d2e2b4b48c934c88c3.zip
string-extend: use num, not num_fast.
* lib.c (string_extend, string_finish): When we update the alloc value in the string, we should be using num, because the cnum value is not necessarily in the fixnum range. That's the whole reason we are using the set macro: because the assigned value could be a heap-allocated bignum. Which it will never be, if we use num_fast.
Diffstat (limited to 'glob.h')
0 files changed, 0 insertions, 0 deletions