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

grc: fix file monitor on windows (#1169) #1172

Merged
merged 1 commit into from
Jan 25, 2017

Conversation

skoslowski
Copy link
Member

I seems tempfile.NamedTemporaryFile() can not be used under windows for our use-case. Keeping a handle around locks the file for writing. So, we close the the handle after the initial write and delete the file manually.

Also enforcing utf-8 encoding on those files.

I seems tempfile.NamedTemporaryFile() can not be used under windows, as keeping the fp around locks the file for writing. So, we close the the handle after the initial write and delete the file manually.
@skoslowski skoslowski added this to the Release 3.7.10.2 milestone Jan 17, 2017
@skoslowski skoslowski self-assigned this Jan 17, 2017
@skoslowski skoslowski requested a review from sdh11 January 17, 2017 08:54
Copy link
Contributor

@sdh11 sdh11 left a comment

Choose a reason for hiding this comment

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

Looks good.

@jmcorgan jmcorgan merged commit 0002525 into gnuradio:maint Jan 25, 2017
@skoslowski skoslowski deleted the fix_external_monitor branch February 10, 2019 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants