Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f3e92b69
Commit
f3e92b69
authored
Jun 19, 2011
by
Paul Eggert
Browse files
* data.c (Fsubr_name): Rewrite to avoid a strlen call.
parent
1bfdaf10
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
+2
-0
src/data.c
src/data.c
+1
-1
No files found.
src/ChangeLog
View file @
f3e92b69
2011-06-19 Paul Eggert <eggert@cs.ucla.edu>
* data.c (Fsubr_name): Rewrite to avoid a strlen call.
* coding.c (make_subsidiaries): Don't assume string length fits in int.
* callproc.c (child_setup): Rewrite to avoid two strlen calls.
...
...
src/data.c
View file @
f3e92b69
...
...
@@ -703,7 +703,7 @@ SUBR must be a built-in function. */)
const char *name;
CHECK_SUBR (subr);
name = XSUBR (subr)->symbol_name;
return
make
_string
(
name
,
strlen
(
name
)
);
return
build
_string (name);
}
DEFUN ("interactive-form", Finteractive_form, Sinteractive_form, 1, 1, 0,
...
...
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