This can't be a TurboC bug can it?
Brian Rodriguez
brianr at hpdmd48.boi.hp.com
Wed Aug 15 03:23:33 AEST 1990
/ hpdmd48:comp.lang.c / CRN at BYUVM.BITNET / 10:35 am Jul 31, 1990 /
I once had a similarly mysterious experience with TurboC. Are you
using any static or global arrays inside valid_str()? If so, you may be
writing past the array bounds, and if by chance fld is stored immediately
after the array, it will be overwritten during the valid_str() call. If
the situation I have described does not exist, I wish you luck.
--- Brian Rodriguez
(brianr at hpbs1526.boi.hp.com)
More information about the Comp.lang.c
mailing list