Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
77437343
Commit
77437343
authored
Aug 10, 2009
by
Ken Raeburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(concat): Don't re-set string length to its current value.
parent
f0bed503
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/ChangeLog
src/ChangeLog
+3
-0
src/fns.c
src/fns.c
+0
-1
No files found.
src/ChangeLog
View file @
77437343
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.
...
...
src/fns.c
View file @
77437343
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment