🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1209

Config bug in oleo-1.2 on SGIs

#1209
From: Russel Shermer (R43)
Date: Thu, 31 Dec 1992 11:46
26 lines
1069 bytes
	Hi,

I had to add some lines (a definite kludge) to sysdef.h.  (2nd
paragraph contains the added lines.  The lines 1st and 3rd delimit
position).  The problem is that when RETSIGTYPE is set to void, SIGRET
does not get set to "return" but gets set to "return 0" instead.  My
fix is not legit but merely a hack to get it to work for now.

	---Russ

>#ifndef RETSIGTYPE
>#define RETSIGTYPE void
>#define SIGRET  return
>#else
>#define SIGRET  return 0
>#endif /* RETSIGTYPE */

#ifdef RETSIGTYPE
#if (RETSIGTYPE == void)
#define SIGRET return
#endif
#endif

>#ifndef VOIDSTAR
>#define VOIDSTAR void *
>#endif
Technical Details
Message-ID: <9212312146.AA04319@diamond.nswc.navy.mil>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!relay.nswc.navy.mil!rsherme%diamond

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!relay.nswc.navy.mil!rsherme%diamond
From: rsherme%diamond@relay.nswc.navy.mil (Russel Shermer (R43))
Subject: Config bug in oleo-1.2 on SGIs
Message-ID: <9212312146.AA04319@diamond.nswc.navy.mil>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 31 Dec 1992 11:46:39 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 28