Enhance/fix VMS exit code handling.

* commands.c, function.c, hash.c, job.c, main.c, output.c:
use MAKE exit codes.
* makeint.h: encode make exit codes so that they are VMS compatible.
* job.c: check child exit code for VMS style exit codes.
* vmsjobs.c: save and return VMS style exit code.
This commit is contained in:
Hartmut Becker
2014-08-24 22:06:15 +02:00
committed by Paul Smith
parent f970315766
commit 8de07f3e4a
8 changed files with 30 additions and 19 deletions

View File

@@ -1610,7 +1610,7 @@ char *
func_shell_base (char *o, char **argv, int trim_newlines)
{
fprintf (stderr, "This platform does not support shell\n");
die (EXIT_FAILURE);
die (MAKE_TROUBLE);
return NULL;
}