digitalmars.D.bugs - segfaulting exe / atoi, toStringz
- Thomas =?UTF-8?B?S8O8aG5l?= <thomas-dloop kuehne.cn> Nov 08 2004
- "Walter" <newshound digitalmars.com> Nov 10 2004
might be related to / or duplication of:
<cm98hu$e30$1 digitaldaemon.com> / digitalmars.D:12248
code:
# import std.string;
# int main(char[][] arg) {
# char[] one = "1";
# debug printf("pre\n");
# int N = atoi(std.string.toStringz(one));
# return 0;
#}
The debug build behaves as expected but the normal build produces a
segfaulting exe.
Thomas
Nov 08 2004
I can't duplicate this.
Sorry, gdc's libphobos interfiered. Thomas
Nov 10 2004








Thomas =?UTF-8?B?S8O8aG5l?= <thomas-dloop kuehne.cn>