[Issue 8298] dirEntries special linux file in Home dir

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 7 16:24:06 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=8298



--- Comment #5 from github-bugzilla at puremagic.com 2014-01-07 16:23:53 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/eb4d5a0572da733c492ef3b75ff12e74a8f0a522
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.

https://github.com/D-Programming-Language/phobos/commit/1d7912c6791bd0a84f67370f4462b922b996701c
Merge pull request #1142 from MikeWey/Issue8298

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

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list