summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
authorHartmut Becker <becker.ismaning@freenet.de>2014-09-07 17:41:59 -0400
committerPaul Smith <psmith@gnu.org>2014-09-07 17:41:59 -0400
commit9f2be272f801be6138671b96463612b12d71c034 (patch)
tree2214e65558248378dad06d192b14bbd051e38367 /function.c
parent8bf5c150e363eecd06beafbc1e3d5c613a1419f0 (diff)
downloadmake-9f2be272f801be6138671b96463612b12d71c034.tar.gz
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.
Diffstat (limited to 'function.c')
-rw-r--r--function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.c b/function.c
index 9c0a0363..e1664c07 100644
--- a/function.c
+++ b/function.c
@@ -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;
}