Commit f3e92b69 authored by Paul Eggert's avatar Paul Eggert
Browse files

* data.c (Fsubr_name): Rewrite to avoid a strlen call.

parent 1bfdaf10
2011-06-19 Paul Eggert <>
* 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.
......@@ -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,
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