aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-08-17 21:44:49 +0000
committerKarl Heuer1994-08-17 21:44:49 +0000
commit39323a7e46cc32c12327c8870639dfb41ac0284b (patch)
tree12684ca9b3377f685db56d865f9c9979984e8d4b /src
parent6bac44b29cf44457afdfa9014fea0f765906d740 (diff)
downloademacs-39323a7e46cc32c12327c8870639dfb41ac0284b.tar.gz
emacs-39323a7e46cc32c12327c8870639dfb41ac0284b.zip
(Fcall_process_region): gcpro filename_string.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 4f66b5afc4a..990a48c4db9 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -486,7 +486,9 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
486 int nargs; 486 int nargs;
487 register Lisp_Object *args; 487 register Lisp_Object *args;
488{ 488{
489 register Lisp_Object filename_string, start, end; 489 struct gcpro gcpro1;
490 Lisp_Object filename_string;
491 register Lisp_Object start, end;
490#ifdef MSDOS 492#ifdef MSDOS
491 char *tempfile; 493 char *tempfile;
492#else 494#else
@@ -519,6 +521,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
519 mktemp (tempfile); 521 mktemp (tempfile);
520 522
521 filename_string = build_string (tempfile); 523 filename_string = build_string (tempfile);
524 GCPRO1 (filename_string);
522 start = args[0]; 525 start = args[0];
523 end = args[1]; 526 end = args[1];
524#ifdef MSDOS 527#ifdef MSDOS
@@ -536,7 +539,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
536 539
537 args[3] = filename_string; 540 args[3] = filename_string;
538 541
539 return unbind_to (count, Fcall_process (nargs - 2, args + 2)); 542 RETURN_UNGCPRO (unbind_to (count, Fcall_process (nargs - 2, args + 2)));
540} 543}
541 544
542#ifndef VMS /* VMS version is in vmsproc.c. */ 545#ifndef VMS /* VMS version is in vmsproc.c. */