digitalmars.D.bugs - Managed to crash dmd
- Bruno A. Costa (13/21) Jun 14 2004 import std.ctype;
"Arcane Jill" <Arcane_member pathlink.com> wrote in message news:cags55$1ss8$1 digitaldaemon.com...import std.ctype; int main () { int i = 1; char[] s = "crash"; if(!std.ctype,isalnum(s[i]))s[i]=' '; return 0; } Segmentation fault on Linux + dmd-0.92This code:Please post bugs in the digitalmars.D.bugs newsgroup. Also, I need a reproducible example so I can fix it. Thanks!if (!std.ctype,isalnum(s[i])) s[i] = ' ';made DMD crash. Observe the typo there (comma instead of dot). Windows XP helpfully asked me if I wanted to report the problem to Microsoft. As if!
Jun 14 2004