Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bc69349b
Commit
bc69349b
authored
Jun 19, 1995
by
Richard M. Stallman
Browse files
(win32_wait): Massage retval into what is expected in Unix.
parent
5fc0154c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/w32proc.c
src/w32proc.c
+10
-1
No files found.
src/w32proc.c
View file @
bc69349b
...
...
@@ -395,7 +395,16 @@ win32_wait (int *status)
errno
=
EINVAL
;
return
-
1
;
}
/* Massage the exit code from the process to match the format expected
by the WIFSTOPPED et al macros in syswait.h. Only WIFSIGNALLED and
WIFEXITED are supported; WIFSTOPPED doesn't make sense under NT. */
if
(
retval
==
STATUS_CONTROL_C_EXIT
)
retval
=
SIGINT
;
else
retval
<<=
8
;
cp
=
cps
[
active
];
if
(
status
)
...
...
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