[phobos] [D-Programming-Language/phobos] eb4d5a: Fix Issue #8298, Don't throw exceptions on broken ...

GitHub noreply at github.com
Tue Jan 7 16:23:44 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: eb4d5a0572da733c492ef3b75ff12e74a8f0a522
      https://github.com/D-Programming-Language/phobos/commit/eb4d5a0572da733c492ef3b75ff12e74a8f0a522
  Author: Mike Wey <mike at mikewey.eu>
  Date:   2013-11-13 (Wed, 13 Nov 2013)

  Changed paths:
    M std/file.d

  Log Message:
  -----------
  Fix Issue #8298, Don't throw exceptions on broken symlinks.

Using dirEntries to loop trough all the files/directories in a directory
will curently throw an Exception when encountering an broken symlink.

Whit this change DirEntry will no longer throw an Exception for broken
symlinks, but in that case isDir and isFile will return flase while
isSymlink returns true.


  Commit: 1d7912c6791bd0a84f67370f4462b922b996701c
      https://github.com/D-Programming-Language/phobos/commit/1d7912c6791bd0a84f67370f4462b922b996701c
  Author: Andrej Mitrovic <andrej.mitrovich at gmail.com>
  Date:   2014-01-07 (Tue, 07 Jan 2014)

  Changed paths:
    M std/file.d

  Log Message:
  -----------
  Merge pull request #1142 from MikeWey/Issue8298

Fix Issue #8298, Don't throw exceptions on broken symlinks.


Compare: https://github.com/D-Programming-Language/phobos/compare/b364a2f5f506...1d7912c6791b


More information about the phobos mailing list