Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: X11R4 gcc-1.36 SunOS 4.0.3 puzzle Message-ID: <9002110416.AA02139@Larry.McRCIM.McGill.EDU> Date: 11 Feb 90 04:16:40 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 14 >> puzzle will dump core if gcc-1.36 is used on a Sun3 running SunOS >> 4.0.3 >> To fix, use /bin/cc > Reason: puzzle calls sscanf() with a constant string argument. > Fix: use gcc -fwritable-strings. Proper fix: use a non-broken stdio that doesn't stamp on strings passed to sscanf(). (Finding such a stdio may not be entirely trivial, alas.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu