aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorPaul Eggert2014-09-23 10:03:48 -0700
committerPaul Eggert2014-09-23 10:03:48 -0700
commit97914756e8de76b8e83550eab2e12e5dfcb87754 (patch)
tree81c4f9d262e1cce19a6294658231bf854a4d8029 /src/callproc.c
parentccc7be94d73afce4295b6ee7eaa388d1cd930926 (diff)
downloademacs-97914756e8de76b8e83550eab2e12e5dfcb87754.tar.gz
emacs-97914756e8de76b8e83550eab2e12e5dfcb87754.zip
* lisp.h (lispstpcpy): Rename from lispstrcpy, and act like stpcpy.
All callers changed. * xterm.c (x_term_init): Use new functionality to avoid two needs to compute a string length.
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 2fa475e72df..e3dcc7bbcca 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1235,7 +1235,7 @@ child_setup (int in, int out, int err, char **new_argv, bool set_pgrp,
1235#endif 1235#endif
1236 temp = pwd_var + 4; 1236 temp = pwd_var + 4;
1237 memcpy (pwd_var, "PWD=", 4); 1237 memcpy (pwd_var, "PWD=", 4);
1238 lispstrcpy (temp, current_dir); 1238 lispstpcpy (temp, current_dir);
1239 1239
1240#ifndef DOS_NT 1240#ifndef DOS_NT
1241 /* We can't signal an Elisp error here; we're in a vfork. Since 1241 /* We can't signal an Elisp error here; we're in a vfork. Since