An error occurred while fetching folder content.
Fred Wright
authored
This reworks the fdopendir code to directly build all the needed variants, instead of the horrible splitandfilterandmergemultiarch kludge in the Makefile. Not only does it reduce code duplication, but it also drastically improves readability. It does not change the underlying logic in the "guts", but merely changes the interfacing to the different variants. This was the only use of splitandfilterandmergemultiarch, which will be excised in a subsequent commit. A subtle problem that this introduced is that the empty object filter for the static library was previously failing to filter fdopendir.o due to the way it was constructed, but fixing that resulted in a truly empty static library on 10.15+ platforms. This is actually illegal, so there's now a hack to put one dummy object into the archive in this case. The dummy object defines a single global symbol, thereby avoiding the "has no symbols" warning from 'ar' and other tools. TESTED: Builds and passes all tests (including the new one in a subsequent commit), on all platforms.
Name | Last commit | Last update |
---|