D-Programming-Language/phobos — pull request #2528 by tom-tan (2014-09-18 05:44:40+00:00)
Title: Make std.file.setAttributes safe

It contains the following unsafe operations but we can verify that they can be trusted.

On Windows systems:
- use of unsafe functions `core.sys.windows.windows.SetFileAttributesW` and `std.internal.cstring.tempCStringW`

On Posix systems:
- use of unsafe functions `core.sys.posix.sys.stat.chmod` and `std.internal.cstring.tempCString`