[phobos] [D-Programming-Language/phobos] 650a87: replace counters with bools

GitHub noreply at github.com
Sun Dec 9 17:50:12 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 650a87cbb3a3a81e91e4a14f50e14366ad83f7cf
      https://github.com/D-Programming-Language/phobos/commit/650a87cbb3a3a81e91e4a14f50e14366ad83f7cf
  Author: Nils Boßung <nilsbossung at googlemail.com>
  Date:   2012-12-08 (Sat, 08 Dec 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  replace counters with bools

The only purpose of those counters was to track if anything has been
parsed. A bool suffices and it doesn't overflow.


  Commit: c880456c7be4c2afc709edd92b2c8a6fe6aea2d4
      https://github.com/D-Programming-Language/phobos/commit/c880456c7be4c2afc709edd92b2c8a6fe6aea2d4
  Author: Nils Boßung <nilsbossung at googlemail.com>
  Date:   2012-12-09 (Sun, 09 Dec 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  simplify


  Commit: dc39ebebdc2cd9db78531bd766c21147ef99cd6f
      https://github.com/D-Programming-Language/phobos/commit/dc39ebebdc2cd9db78531bd766c21147ef99cd6f
  Author: Jonathan M Davis <jmdavisProg at gmx.com>
  Date:   2012-12-09 (Sun, 09 Dec 2012)

  Changed paths:
    M std/conv.d

  Log Message:
  -----------
  Merge pull request #996 from NilsBossung/parseoverflow

Fix Issue 9126 - parse!int fails on size_t.max+1 digits long input (overflow)


Compare: https://github.com/D-Programming-Language/phobos/compare/74f8c844feb8...dc39ebebdc2c


More information about the phobos mailing list