-
-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On POSIX std.file.copy was copying file times at second precision #7629
Conversation
|
Thanks for your pull request, @n8sh! Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "stable + phobos#7629" |
|
It would be nice if this could use the same code as |
2d3eb2b to
06ea9b3
Compare
| @@ -2523,7 +2523,7 @@ public: | |||
|
|
|||
| version (StdDdoc) | |||
| { | |||
| private struct timespec {} | |||
| version (Windows) private struct timespec {} | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to avoid
/home/dtest/DAutoTest/work/tmp/ddoc_preprocessor_062038e10dce4e6eb0a29d181365ced6/std/file.d(1557): Error: cannot implicitly convert expression
accessTime.toTimeSpec()of typestd.datetime.systime.SysTime.timespectocore.sys.posix.signal.timespec
…at second precision
Moved |
No description provided.