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

chanbackup: close temp SCB file before rename #3129

Merged
merged 1 commit into from
May 28, 2019

Conversation

Roasbeef
Copy link
Member

It has been reported that on Windows, the current file swap process
doesn't properly work since we still have the file open when we try to
rename it. In order to fix this, we'll now close the file before we
rename it.

It has been reported that on Windows, the current file swap process
doesn't properly work since we still have the file open when we try to
rename it. In order to fix this, we'll now close the file _before_ we
rename it.
@Roasbeef Roasbeef added this to the 0.7 milestone May 27, 2019
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🏖

@cfromknecht cfromknecht added safety General label for issues/PRs related to the safety of using the software windows Behaviour directly related to the Windows OS bug fix labels May 28, 2019
Copy link
Contributor

@wpaulino wpaulino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🦠

@cfromknecht cfromknecht merged commit cd285d6 into lightningnetwork:master May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix safety General label for issues/PRs related to the safety of using the software windows Behaviour directly related to the Windows OS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants