mph@behemoth.phx.mcd.mot.com (Mark Huth) (06/20/89)
It seems that I have discovered a Lattice C library bug. The routine SHORT short; sscanf( string, "%hd", &short ); operates incorrectly (and probably scanf and fscanf as well). The short is treated as an integer or long within the scanning routine, corrupting memory and always returning 0 for the value of short. Yes, I will report this to Lattice, but my registration apparently has not yet arrived. Mark Huth