model-writtenrun 5359 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane proposed removing obsolete configure checks and fallback implementations after examining buildfarm results, relying on C99 and SUSv2 requirements while leaving platform-dependent inline handling alone #1.
- Without posting attached patches, Tom Lane committed the fseeko/ftello cleanup as 799d22461a, retaining _LARGEFILE_SOURCE detection, and the isinf cleanup as 7fde892bc1, retaining the clang builtin workaround.
- The same implementation round removed the cbrt substitute in abe41f453a, the memmove substitute in 1200d71a09, and the rint substitute in f88a058200, with separate commits to permit individual reversions if portability problems appeared.
- Tom Lane also removed utime and utime.h checks and fallback paths in 481c8e9232, made wchar.h unconditional in 97cf1fa4ed, and removed signed-type and flexible-array probes in f4d59369d2.
- After those commits landed, Peter Eisentraut agreed with the cleanup, corrected the interpretation of MSVC flexible-array support, and discussed newer Autoconf header checks while agreeing to retain inline handling #2; Tom Lane acknowledged the correction, noted that intptr_t and uintptr_t belonged to Peter's separate pending work, and raised concerns about synchronizing unreleased Autoconf versions #3.
- More than two years later, Thomas Munro revived the thread with two patches removing the wctype.h probe and obsolete wchar.h inclusions after buildfarm animal gaur's retirement, separating the evidence-backed probe removal from the less certain inclusion cleanup #4.
- Tom Lane endorsed both patches, citing SUSv2's declaration requirements and the capabilities of surviving buildfarm systems #5.
- Thomas Munro combined both patches unchanged into 634a89c708 and confirmed that they had landed, leaving possible additional redundant includes outside his current cleanup scope #6.