[Issue 6790] buildPath using std.path.curdir segfaults
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 28 15:15:41 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6790
Lars T. Kyllingstad <bugzilla at kyllingen.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at kyllingen.net
--- Comment #2 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2011-11-28 15:14:39 PST ---
I am using the latest revisions of DMD, druntime and Phobos, and I can't
reproduce this.
curdir is a string enum, and the only thing that happens to it in buildPath is
the following:
return cast(string)(curdir ~ dirSeparator ~ "a.out");
This should be perfectly OK, as concatenation always allocates a new string.
Therefore, I agree with Jacob that it is/was a bug in druntime, or perhaps DMD,
but it seems to have been fixed now.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list