segmention fault >> culprit is isdigit() c library function call

Thu Jul 2 05:45:00 GMT 2009

dear maintainer:
the fallowing is a small sample of the code that contains all the info
to reproduce the problem.
the C library function isdigit() fails and causes segmention fault when
the input is is not numeric like xx.

COMPILE COMMAND : >> gcc -ansi --version -Wall  -o ch2-13.out    -lm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ch2-13.c
Type: text/x-csrc
Size: 919 bytes
Desc: not available
URL: <>

More information about the Gcc-bugs mailing list