mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Don't call SYMBOL_STRINGBUF on a string
* libguile/strings.c (scm_i_make_symbol): Use STRING_STRINGBUF instead of SYMBOL_STRINGBUF to get the stringbuf of a string.
This commit is contained in:
parent
07bc8e7c33
commit
1a4d765381
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ scm_i_make_symbol (SCM name, scm_t_bits flags,
|
|||
name = SH_STRING_STRING (name);
|
||||
start += STRING_START (name);
|
||||
}
|
||||
buf = SYMBOL_STRINGBUF (name);
|
||||
buf = STRING_STRINGBUF (name);
|
||||
|
||||
if (start == 0 && length == STRINGBUF_LENGTH (buf))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue