Mercurial > emacs
changeset 104225:2b13858c8a2f
(concat): Don't re-set string length to its current value.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 10 Aug 2009 00:57:48 +0000 |
parents | bd10839bac0e |
children | e312dc3a4650 |
files | src/ChangeLog src/fns.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon Aug 10 00:56:00 2009 +0000 +++ b/src/ChangeLog Mon Aug 10 00:57:48 2009 +0000 @@ -1,5 +1,8 @@ 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.
--- a/src/fns.c Mon Aug 10 00:56:00 2009 +0000 +++ b/src/fns.c Mon Aug 10 00:57:48 2009 +0000 @@ -661,7 +661,6 @@ } 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))