On 10/10/2025 04:54, Collin Funk wrote:
On all versions of glibc, getline and getdelim do not NUL-terminate the line buffer if the first read character is EOF as required by POSIX
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=28038 [2] https://forge.sourceware.org/glibc/glibc-mirror/commit/33eff78c8b28adc4963987880e10d96761f2a167
Looks good. Minor nit: s/null terminate/NUL terminate/. cheers, Padraig.
