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

fix leaking object.cache file references (fixes #462) #483

Merged
merged 1 commit into from
Nov 13, 2024

Commits on Nov 10, 2024

  1. fix leaking object.cache file references (fixes naemon#462)

    using fopen opens the object.cache a second time and naemon closes just one afterwards.
    So with every write of the objects.cache file, one reference will be kept and prevents
    the file from beeing deleted which finally fills the disk with deleted files.
    Using fdopen solves the issue, since it just reuses the existing fd.
    sni committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    adf723a View commit details
    Browse the repository at this point in the history