* main.c, vms_main_wrapper.c (main): This fixes the VMS arvg[0] to be the normalized program name expected by users and test scripts. This handles the three possible syntax's that the argv[0] can be set to from DCL, and handled removing a facility prefix.

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

Attachment: 0001-VMS-argv-0-and-exit-status-fix.patch.gz
Description: application/gzip

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to