[gnu.gcc.bug] Fix for xm-vms.h

angel@FLIPPER.MIAMI.EDU (angel li) (09/01/89)

The following fix changes the failure exit code from 0 to 44.  It seems
the VMS C runtime remaps exit code 0 to 1.  This matters if you use make on VMS.
(The hex value or'ed with 44 is a flag that inhibits DCL from printing
a silly message.)

*** xm-vms.h-orig	Thu Aug 31 17:51:16 1989
--- xm-vms.h	Thu Aug 31 17:51:31 1989
***************
*** 32,38 ****
  #define HOST_BITS_PER_LONG 32
  
  #define SUCCESS_EXIT_CODE 1
! #define FATAL_EXIT_CODE 0
  
  /* A couple of conditionals for execution machine are controlled here.  */
  #ifndef VMS
--- 32,38 ----
  #define HOST_BITS_PER_LONG 32
  
  #define SUCCESS_EXIT_CODE 1
! #define FATAL_EXIT_CODE (44 | 0x10000000)
  
  /* A couple of conditionals for execution machine are controlled here.  */
  #ifndef VMS


Angel Li
University of Miami/RSMAS Remote Sensing Group

Internet: angel@flipper.miami.edu			UUCP: ncar!umigw!angel