[phobos] [D-Programming-Language/phobos] 3d058e: fix LockingTextReader: issues 13686 and 12320

GitHub via phobos phobos at puremagic.com
Thu Nov 13 11:53:38 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 3d058e285352998a445acc30c401a13ab1ba0b4d
      https://github.com/D-Programming-Language/phobos/commit/3d058e285352998a445acc30c401a13ab1ba0b4d
  Author: anonymous <aG0aep6G at users.noreply.github.com>
  Date:   2014-11-12 (Wed, 12 Nov 2014)

  Changed paths:
    M std/stdio.d

  Log Message:
  -----------
  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.


  Commit: a0ca85550a74cd20b435db6ac6da2f9e4902ab96
      https://github.com/D-Programming-Language/phobos/commit/a0ca85550a74cd20b435db6ac6da2f9e4902ab96
  Author: H. S. Teoh <hsteoh at quickfur.ath.cx>
  Date:   2014-11-13 (Thu, 13 Nov 2014)

  Changed paths:
    M std/stdio.d

  Log Message:
  -----------
  Merge pull request #2663 from aG0aep6G/lockingtextreader

fix LockingTextReader: issues 13686 and 12320


Compare: https://github.com/D-Programming-Language/phobos/compare/384d370ba130...a0ca85550a74


More information about the phobos mailing list