[Gllug] C function strcasecmp

Alex Hudson home at alexhudson.com
Sat Jul 28 10:21:02 UTC 2001


On Sat, Jul 28, 2001 at 11:06:44AM +0100, Alex Hudson wrote:
> > > 	*x+=~(*x)++;
> > 
> > Foul and invokes undefined behaviour; multiple modifications with no
> > intervening sequence points ;P
> 
> Given it worked when I compiled it, that's enough QA for participation in
> this thread I feel ;) 

Actually, thinking about it - who cares if it's out of sequence? Doesn't
matter :) (I think - assuming it wasn't being calculated in parallel,
anyway).

Obviously great code :)

Cheers,

Alex.

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list