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

RecorderThread: Open output files with O_TRUNC #146

Merged
merged 1 commit into from Oct 7, 2022
Merged

Conversation

chenxiaolong
Copy link
Owner

The output files should generally be unique, but that's not guaranteed. Without truncation, the output files may potentially be corrupted due to the presence of old data at the end.

Issue: #143

@chenxiaolong chenxiaolong self-assigned this Oct 7, 2022
The output files should generally be unique, but that's not guaranteed.
Without truncation, the output files may potentially be corrupted due to
the presence of old data at the end.

Issue: #143

Signed-off-by: Andrew Gunnerson <chillermillerlong@hotmail.com>
@chenxiaolong chenxiaolong merged commit 6efd49c into master Oct 7, 2022
@chenxiaolong chenxiaolong deleted the trunc branch October 7, 2022 16:31
chenxiaolong added a commit that referenced this pull request Oct 7, 2022
Signed-off-by: Andrew Gunnerson <chillermillerlong@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant