Overview
| Artifact ID: | 5dd5945b6619a5927a749263dfce28b61f76e568f68171790931ef805b6efd61 |
|---|---|
| Ticket: | 92564326a98b551099d3e61bbe88e3b5f9720c15
Open file descriptor leak: better align dir operations(opendir/readdir/closedir) all to either 64bit or 32bit ones. |
| User & Date: | sebres on 2018-06-04 14:10:00 |
Changes
- icomment:
You are right, thanks. I tried to find all possible constellations (as regards dirent.h, __USE_FILE_OFFSET64, __USE_LARGEFILE64 etc.), so I've rewritten it a bit (in opposite to the current fix from androwish): - Tcl_DirEntry and TclOSreaddir are dependent on HAVE_STRUCT_DIRENT64; - TclDIR, TclOSopendir, TclOSrewinddir and TclOSclosedir on HAVE_DIR64; If I can assess the configure rules correctly, HAVE_DIR64 will set only if supported (and HAVE_STRUCT_DIRENT64 will set also); Thus fixed in [32babd8ff27c1141] for 8.5 (and merged into 8.6th). @wrenashe: Tao, could you please test the latest version on your system (as regards the subject, I mean the leaks).
- login: "sebres"
- mimetype: "text/x-fossil-wiki"