🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #558

Fix for xm-vms.h

#558
From: angel li
Date: Thu, 31 Aug 1989 18:31
31 lines
1286 bytes
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
Technical Details
Message-ID: <8908311831.AA03111@flipper.Miami.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!FLIPPER.MIAMI.EDU!angel

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!FLIPPER.MIAMI.EDU!angel
From: angel@FLIPPER.MIAMI.EDU (angel li)
Newsgroups: gnu.gcc.bug
Subject: Fix for xm-vms.h
Message-ID: <8908311831.AA03111@flipper.Miami.EDU>
Date: 31 Aug 89 18:31:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 31