[Issue 19601] Running -profile=gc when no gc is logged leaves old misleading file contents

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 22 13:53:23 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19601

--- Comment #1 from John Burton <john.burton at jbmail.com> ---
It looks like the reason is this line :-
https://github.com/dlang/druntime/blob/424640864c2aa001731467e96f637bd3e704e481/src/rt/profilegc.d#L137

where it only creates the file if there is anything to write to it.
It's not as simple as just removing the test though to "fix" as we presumably
only want to do this if the user has requested the profile was made.

--


More information about the Digitalmars-d-bugs mailing list