segmentation fault isdigit() cuasing the problem.

Thu Jul 2 05:55: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
gcc (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc
-------------- 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