[Issue 10723] std.stdio.File.byLine causes segfault when compiling with -O
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 15 12:17:27 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10723
Maxim Fomin <maxim at maxim-fomin.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
--- Comment #4 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-08-15 12:17:26 PDT ---
(In reply to comment #3)
> Interesting is that if _name member or in char[] stdioOpenmode = "rb" are
> removed, the program runs fine.
This is actually a funny bug - in char[] stdioOpenmode = "rb" shouldn't compile
in first place, this is accept-invalid. This erroneous default parameter as a
result causes further problems with dehtables as offsets are wrong.
https://github.com/D-Programming-Language/phobos/pull/1478
--
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