Commit 77437343 authored by Ken Raeburn's avatar Ken Raeburn

(concat): Don't re-set string length to its current value.

parent f0bed503
2009-08-10 Ken Raeburn <raeburn@raeburn.org>
* fns.c (concat): Don't re-set string length to its current
value.
* coding.h (decode_coding_string, encode_coding_string): Use
SBYTES macro.
......
......@@ -661,7 +661,6 @@ concat (nargs, args, target_type, last_special)
}
toindex_byte += thislen_byte;
toindex += thisleni;
STRING_SET_CHARS (val, SCHARS (val));
}
/* Copy a single-byte string to a multibyte string. */
else if (STRINGP (this) && STRINGP (val))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment