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

Delete leaked (unclosed) temporary files on program termination #1

Closed
ViliusSutkus89 opened this issue Oct 10, 2019 · 1 comment
Closed

Comments

@ViliusSutkus89
Copy link
Owner

POSIX C library provides FILE *tmpfile(void) function with a following contract

The file will be automatically deleted when it is closed or the program terminates.

This implementation automatically deletes the file when it is closed.
Temporary file deletion on program termination would be useful too.

ViliusSutkus89 added a commit that referenced this issue Oct 11, 2019
@ViliusSutkus89
Copy link
Owner Author

Fixed in cecf376

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

No branches or pull requests

1 participant