|
From: | John E. Malmberg |
Subject: | vms argv[0] and exit status fixes. |
Date: | Wed, 05 Mar 2014 00:17:36 -0600 |
User-agent: | Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 |
When make is exec() from a C program, the argv[0] set by the exec() is also preserved as expected.
The older VMS specific code that did not handle all these cases has been removed.
Unneeded VMS specific code for tempfile processing removed. The VMS CRTL maps /tmp to SYS$SCRATCH: if TMP: does not exist.
* makeint.h: Properly encode the Unix status as a VMS status code while setting the VMS severity and message inhibit bits. This allows programs written in C to see the documented and expected exit code, and sets the severity level for native VMS programs to use.
This fix also inhibits the incorrect display of additional error messages after the program has exited.
Regards, -John
0001-VMS-argv-0-and-exit-status-fix.patch.gz
Description: application/gzip
[Prev in Thread] | Current Thread | [Next in Thread] |