Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5c03767e
Commit
5c03767e
authored
Nov 11, 1993
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fcall_process): Clear synch_process_death and
synch_process_retcode before the vfork.
parent
4fd99ee4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/callproc.c
src/callproc.c
+6
-3
No files found.
src/callproc.c
View file @
5c03767e
...
...
@@ -249,6 +249,12 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
/* Record that we're about to create a synchronous process. */
synch_process_alive
=
1
;
/* These vars record information from process termination.
Clear them now before process can possibly terminate,
to avoid timing error if process terminates soon. */
synch_process_death
=
0
;
synch_process_retcode
=
0
;
pid
=
vfork
();
if
(
pid
==
0
)
...
...
@@ -293,9 +299,6 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
return
Qnil
;
}
synch_process_death
=
0
;
synch_process_retcode
=
0
;
record_unwind_protect
(
call_process_cleanup
,
Fcons
(
make_number
(
fd
[
0
]),
make_number
(
pid
)));
...
...
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