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

--- Comment #6 from [email protected] ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/3d058e285352998a445acc30c401a13ab1ba0b4d
fix LockingTextReader: issues 13686 and 12320

Issue 13686 (Reading unicode string with readf ("%s") produces a wrong
string) is fixed by reading all chars of a multibyte sequence and decoding.
Before, each char was mistaken for a dchar.

Issue 12320 (std.stdio.LockingTextReader populates .front in .empty) is
fixed by moving the work from empty to popFront.

https://github.com/D-Programming-Language/phobos/commit/a0ca85550a74cd20b435db6ac6da2f9e4902ab96
Merge pull request #2663 from aG0aep6G/lockingtextreader

fix LockingTextReader: issues 13686 and 12320

--

Reply via email to