Skip to content
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

Fix failure on Windows Windows does not allow a file to be renamed while its in use. f.Sync does not close the handle. It needs to be explicitly closed before renaming. #6260

Merged
merged 1 commit into from
Apr 7, 2016

Conversation

jsternberg
Copy link
Contributor

No description provided.

@jsternberg
Copy link
Contributor Author

Backport of #6224 to 0.12.1.

@toddboom toddboom mentioned this pull request Apr 7, 2016
7 tasks
@toddboom
Copy link
Contributor

toddboom commented Apr 7, 2016

👍

Windows does not allow a file to be renamed while its in use. f.Sync does not close the handle. It needs to be explicitly closed before renaming.
@jsternberg jsternberg force-pushed the js-0.12-fix-failure-on-windows branch from 12fb56c to d4f00aa Compare April 7, 2016 19:36
@jsternberg jsternberg merged commit e4afbe0 into 0.12 Apr 7, 2016
@jsternberg jsternberg deleted the js-0.12-fix-failure-on-windows branch April 7, 2016 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants