Change #266642
| Category | doxygen |
| Changed by | James Cowgill <jcowgill@debian.org> |
| Changed at | Fri 08 May 2026 12:23:28 |
| Repository | https://github.com/doxygen/doxygen.git |
| Project | doxygen |
| Branch | master |
| Revision | 87d10352d53cd89461e796cd53ba615db1e0b45c |
Comments
Fix nondeterministic input ordering of duplicate basenames inputNameLinkedMap is a LinkedMap containing list of file definitions indexed by their basenames. The first time we encounter a basename, we create a new list and store the path to that file in fullName, and fullName is not updated again. The problem is this path depends on filesystem ordering (we use the path we happen to hit first). Later on we sort the inputs list using fullName but since fullName itself is nondeterministic this doesn't always produce the same result. Fix this by sorting each basename list first, then sorting using the path of the first file in each list. Afterwards, remove FileName::fullName and FileName::path which are no longer used anywhere.
Changed files
- src/doxygen.cpp
- src/filename.h
- src/tagreader.cpp