diff options
author | Derek R. Price <derek@ximbiot.com> | 2006-04-25 20:58:26 +0000 |
---|---|---|
committer | Derek R. Price <derek@ximbiot.com> | 2006-04-25 20:58:26 +0000 |
commit | 6d8d4e520be656b646a6f5cf7ebebfc31c178022 (patch) | |
tree | 99edbed416b6e9dba5124a90985c54586451902f /lib/csharpcomp.c | |
parent | 528b229aa8932bc5e1fdf7b0c7cdc5b7713b1edf (diff) | |
download | gnulib-6d8d4e520be656b646a6f5cf7ebebfc31c178022.tar.gz |
* lib/wait-process.h (wait_subprocess): Accept a new exitsignal argument.
* lib/wait-process.c (wait_subprocess): Always set *exitsignal to 0 when
present and set it to the offending signal when the child exits due to
a signal.
* lib/csharpcomp.c, lib/execute.c, lib/javacomp.c: Update all callers.
Diffstat (limited to 'lib/csharpcomp.c')
-rw-r--r-- | lib/csharpcomp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/csharpcomp.c b/lib/csharpcomp.c index 2344a99622..e157db67ce 100644 --- a/lib/csharpcomp.c +++ b/lib/csharpcomp.c @@ -295,7 +295,8 @@ compile_csharp_using_mono (const char * const *sources, fclose (fp); /* Remove zombie process from process list, and retrieve exit status. */ - exitstatus = wait_subprocess (child, "mcs", false, false, true, true); + exitstatus = wait_subprocess (child, "mcs", NULL, false, false, true, + true); for (i = 0; i < sources_count; i++) if (argv[argc - sources_count + i] != sources[i]) @@ -366,7 +367,7 @@ compile_csharp_using_sscli (const char * const *sources, /* Remove zombie process from process list, and retrieve exit status. */ exitstatus = - wait_subprocess (child, "csc", false, true, true, false); + wait_subprocess (child, "csc", NULL, false, true, true, false); if (exitstatus != 0) csc_present = false; } |