Change #278827
| Category | gtar |
| Changed by | Paul Eggert <eggert@cs.ucla.edu> |
| Changed at | Fri 21 Aug 2026 00:46:21 |
| Repository | git://git.savannah.gnu.org/tar.git |
| Project | gtar |
| Branch | master |
| Revision | e5aeda0699346384fafa5fea67d8635818c4afc3 |
Comments
tar: don’t evict from fdbase_cache if open fails * src/misc.c (fdbase_opendir): Fix the recent fix d1df7f403de05bfbe11527a5b570469fb1011fda, which introduced bugs causing us to pass BADFD to openat. Don’t close and evict an existing cache resident merely because the open of a subdirectory fails. Refactor this too-tricky code to add some clarity.
Changed files
- src/misc.c