Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Fix up temporary file usage for Windows#24

Open
nsubtil wants to merge 1 commit intoermshiperete:masterfrom
nsubtil:windows-fixes
Open

Fix up temporary file usage for Windows#24
nsubtil wants to merge 1 commit intoermshiperete:masterfrom
nsubtil:windows-fixes

Conversation

@nsubtil
Copy link

@nsubtil nsubtil commented Dec 5, 2016

On Windows you can't overwrite a file that you're holding an open file
handle for. Create a temporary file with delete=false and reuse the
filename instead. (This is less than ideal, but at least makes git-p4 work
on Windows.)


This change is Reviewable

On Windows you can't overwrite a file that you're holding an open file
handle for. Create a temporary file with delete=false and reuse the
filename instead. (This is less than ideal, but at least makes git-p4 work
on Windows.)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant