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

Drop file handle just to be extra certain #1019

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

blt
Copy link
Collaborator

@blt blt commented Oct 1, 2024

What does this PR do?

This commit drops fp whenever we flush it and overwrite fp. This
is implied by the overwrite, of course, but I found myself wondering
about when exactly this operation took place, so now it's explicit.

@blt blt force-pushed the blt/log_pathname_correction branch from 33feb50 to b932800 Compare October 3, 2024 00:05
@blt blt force-pushed the blt/drop_file_handle_just_to_be_extra_certain branch from fca2d8e to e3b7e05 Compare October 3, 2024 00:06
@blt blt force-pushed the blt/log_pathname_correction branch from b932800 to 8a09196 Compare October 3, 2024 00:37
@blt blt force-pushed the blt/drop_file_handle_just_to_be_extra_certain branch from e3b7e05 to 9931982 Compare October 3, 2024 00:38
@blt blt force-pushed the blt/log_pathname_correction branch 2 times, most recently from 827eab4 to 0cadf9f Compare October 3, 2024 01:12
@blt blt force-pushed the blt/drop_file_handle_just_to_be_extra_certain branch from 9931982 to 31a55e1 Compare October 3, 2024 01:12
@blt blt changed the base branch from blt/log_pathname_correction to graphite-base/1019 October 3, 2024 01:48
@blt blt force-pushed the blt/drop_file_handle_just_to_be_extra_certain branch from 31a55e1 to 3c1cd12 Compare October 3, 2024 01:48
@blt blt changed the base branch from graphite-base/1019 to main October 3, 2024 01:49
This commit drops `fp` whenever we flush it and overwrite `fp`. This
is implied by the overwrite, of course, but I found myself wondering
about when exactly this operation took place, so now it's explicit.

Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt force-pushed the blt/drop_file_handle_just_to_be_extra_certain branch from 3c1cd12 to 88ecd4f Compare October 3, 2024 01:49
@blt blt merged commit 947b773 into main Oct 3, 2024
15 checks passed
Copy link
Collaborator Author

blt commented Oct 3, 2024

Merge activity

  • Oct 2, 10:25 PM EDT: @blt merged this pull request with Graphite.

@blt blt deleted the blt/drop_file_handle_just_to_be_extra_certain branch October 3, 2024 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants