Thread overview | |||||
---|---|---|---|---|---|
|
November 08, 2004 segfaulting exe / atoi, toStringz | ||||
---|---|---|---|---|
| ||||
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 |
November 10, 2004 Re: segfaulting exe / atoi, toStringz | ||||
---|---|---|---|---|
| ||||
Posted in reply to Thomas Kühne | I can't duplicate this. |
Copyright © 1999-2021 by the D Language Foundation