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

vartan vartank25@att.net
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
ch2-13.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ch2-13.c
Type: text/x-csrc
Size: 919 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20090702/c13b95b0/attachment.bin>


More information about the Gcc-bugs mailing list