Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!apctrc!zjat02 From: zjat02@apctrc.trc.amoco.com (Jon A. Tankersley) Newsgroups: comp.sources.bugs Subject: Sun4 fix to slice Keywords: Sun4 sparc Message-ID: <901@apctrc.UUCP> Date: 6 Jun 89 02:13:10 GMT Sender: news@apctrc.UUCP Reply-To: zjat02@apctrc.trc.amoco.com (Jon A. Tankersley) Organization: Amoco Production Company, Tulsa Research Center Lines: 24 Found the following bug in slice when I compiled it on a Sun4. Didn't handle unspecified boolean returns.... Also fixed a typo. Add to the Makefile HACKS = -DSUN4FIX or pull the ifdef stuff. It works as it should on Sun3 with the fix. 1a2 > /* fix for Sun4 - jat - Feb. 1989 */ 210c211 < error("Error in pattern <%s>\n", pattern); --- > error("Erron in pattern <%s>\n", pattern); 315a317,322 > /* > * Fix for Sun4 under 4.0 > */ > #ifdef SUN4FIX > return(TRUE); /* jat */ > #endif 388a396 > -tank- #include /* nobody knows the trouble I .... */ tank@apctrc.trc.amoco.com ..!uunet!apctrc!tank