D-Programming-Language/phobos — pull request #2465 by tom-tan (2014-08-26 02:18:07+00:00)
Title: Make std.file.setTimes safe

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

On Windows systems:
- use of `core.sys.windows.winodws.CreateFileW`, `CloseHandle` and `SetFileTime`
- use of `std.internal.cstring.tempCString` and `tempCString.Res.~this`

On Posix systems:
- use of `core.sys.posix.sys.time.utimes`
- use of `std.internal.cstring.tempCString` and `tempCString.Res.~this`