[D-runtime] [D-Programming-Language/druntime] 959c86: Cosmetic change

GitHub noreply at github.com
Sun Oct 7 00:56:26 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 959c86e06b04a46a7b1ca05ea5c83bc101a93da3
      https://github.com/D-Programming-Language/druntime/commit/959c86e06b04a46a7b1ca05ea5c83bc101a93da3
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)

  Changed paths:
    M src/core/sys/windows/threadaux.d

  Log Message:
  -----------
  Cosmetic change


  Commit: a9d65b819a2223573b89ef3e07d7583389ee0dae
      https://github.com/D-Programming-Language/druntime/commit/a9d65b819a2223573b89ef3e07d7583389ee0dae
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)

  Changed paths:
    M src/core/sys/windows/dll.d
    M src/core/sys/windows/threadaux.d

  Log Message:
  -----------
  Add nothrow to core.sys.windows.{dll,threadaux}


  Commit: 541d19c39ce565ded6b8ac2dd2a490a01122079f
      https://github.com/D-Programming-Language/druntime/commit/541d19c39ce565ded6b8ac2dd2a490a01122079f
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)

  Changed paths:
    M src/core/sys/windows/dll.d

  Log Message:
  -----------
  Delete try blocks

Looks like in the ancient times of creation of this file (see note) `catch(Exception e)` meant "catch everything" because it is clearly added only for caching memory access violation. So all these `try .. catch` blocks just do nothing trying to catch an `Exception` nobody will ever throw. So this removal doesn't change existing behavior.

Note: `core.sys.windows.dll` file was added as `core.dll_helper` in "Rainer Schuetze's threading dll fix" commit (11.03.2010): a776c1e3ffaa67a55f5f8138733ba2a0ca91147f


  Commit: f0226a584d5827b6e530023e589f7ff0ad6b9770
      https://github.com/D-Programming-Language/druntime/commit/f0226a584d5827b6e530023e589f7ff0ad6b9770
  Author: Jonathan M Davis <jmdavisProg at gmx.com>
  Date:   2012-10-07 (Sun, 07 Oct 2012)

  Changed paths:
    M src/core/sys/windows/dll.d
    M src/core/sys/windows/threadaux.d

  Log Message:
  -----------
  Merge pull request #313 from denis-sh/add-nothrow-to-core.sys.windows.{dll,threadaux}

Add nothrow to core.sys.windows.{dll,threadaux}


Compare: https://github.com/D-Programming-Language/druntime/compare/0cb46c5212cb...f0226a584d58


More information about the D-runtime mailing list