Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!waikato.ac.nz!comp.vuw.ac.nz!actrix!templar!jbickers From: jbickers@templar.actrix.gen.nz (John Bickers) Newsgroups: comp.sys.amiga.programmer Subject: Re: ANOTHER SAS C BUG Message-ID: <1833.tnews@templar.actrix.gen.nz> Date: 1 Apr 91 04:45:35 GMT References: <1991Mar31.035009.13183@csis.dit.csiro.au> Organization: TAP, NZAmigaUG. Lines: 15 Quoted from <1991Mar31.035009.13183@csis.dit.csiro.au> by dave@csis.dit.csiro.au (David Campbell): > *ptr = '\001' + *ptr++; Are you sure this is a bug? It looks like one of those compiler dependent things to do with sequence points, or whatever. You could check with the folks in comp.lang.c, who seem to have copies of the ANSI specs on hand and who know about these things. Easy enough to change to "(*p++)++;" anyhow, isn't it? > dave campbell -- *** John Bickers, TAP, NZAmigaUG. jbickers@templar.actrix.gen.nz *** *** "Patterns multiplying, re-direct our view" - Devo. ***