Skip to content

chanbackup: close temp SCB file before rename#3129

Merged
cfromknecht merged 1 commit intolightningnetwork:masterfrom
Roasbeef:scb-fix-windows
May 28, 2019
Merged

chanbackup: close temp SCB file before rename#3129
cfromknecht merged 1 commit intolightningnetwork:masterfrom
Roasbeef:scb-fix-windows

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