AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb
Temporary files do not get deleted on windows
Open
- Dominant language
- C++
- Stars
- 3.4k
- Forks
- 774
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 34
Description
hello, we got temporary files on windows that don't get deleted by stream.cc:removeTempFile() function, the error is "permissions denied".
Using boost::interprocess::file_mapping::remove instead of std::remove ( like on Archive.cc:MappedFile::Impl::~Impl ) seems to fix the problem.
thanks in advance
Contributor guide
Research direction
Inspect stream.cc and stream.cc:removeTempFile(), then compare its Windows cleanup with Archive.cc:MappedFile::Impl::~Impl. Verify the temporary file removal behavior on Windows and confirm that cleanup no longer fails with a permissions-denied error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100