Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Fix file handling #45

Merged
merged 1 commit into from
Jul 20, 2016
Merged

Fix file handling #45

merged 1 commit into from
Jul 20, 2016

Conversation

tschuy
Copy link
Contributor

@tschuy tschuy commented Jul 20, 2016

Only copy the file content into f.content once, and make File a Closer so that it can be properly closed at the end of main().

make MaydayFile a Closer; close it
@brianredbeard
Copy link
Member

LGTM

[LGTM]

@brianredbeard brianredbeard merged commit 38fb38d into coreos:master Jul 20, 2016
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.

2 participants