Bug 17328 – std.experimental.logger: wrong hex formatting for zeros

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2017-04-15T13:31:28Z
Last change time
2018-01-05T13:28:59Z
Assigned to
No Owner
Creator
Mr. Smith

Comments

Comment #0 by mrsmith33 — 2017-04-15T13:31:28Z
import std.stdio; import std.experimental.logger; void main() { ubyte[] data = [0]; writefln("%(%02x%)", data); // writefln 00 infof("%(%02x%)", data); // infof 000 } ------------------------------------------------------ https://dpaste.dzfl.pl/1671f86db093
Comment #1 by github-bugzilla — 2017-05-26T13:31:00Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/9e6759995a1502dbd92a05b4d0a8b662f1c6032b fix issue 15945, 16256, 17328 tab -> space https://github.com/dlang/phobos/commit/86d500972b7ddb0251f836e07ffdcd01ca10bfa2 Merge pull request #5373 from burner/issue17328 fix issue 15954, 16256, 17328 merged-on-behalf-of: Jack Stouffer <[email protected]>
Comment #2 by github-bugzilla — 2017-06-17T11:34:58Z
Comment #3 by github-bugzilla — 2018-01-05T13:28:59Z