aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32proc.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/w32proc.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/w32proc.c')
-rw-r--r--src/w32proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32proc.c b/src/w32proc.c
index 795df31c858..dc91910d9a7 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -1647,7 +1647,7 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp)
1647 strcpy (cmdname, egetenv ("CMDPROXY")); 1647 strcpy (cmdname, egetenv ("CMDPROXY"));
1648 else 1648 else
1649 { 1649 {
1650 lispstrcpy (cmdname, Vinvocation_directory); 1650 lispstpcpy (cmdname, Vinvocation_directory);
1651 strcat (cmdname, "cmdproxy.exe"); 1651 strcat (cmdname, "cmdproxy.exe");
1652 } 1652 }
1653 1653