]> git.ipfire.org Git - thirdparty/glibc.git/commit
manual: clarify _FILE_OFFSET_BITS Y2038 implications [BZ #34095]
authorShamil Abdulaev <ashamil435@gmail.com>
Tue, 28 Apr 2026 16:34:09 +0000 (13:34 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Apr 2026 16:34:09 +0000 (13:34 -0300)
commitf071e2b4a0b20880fa2ff2a4defd9b59d31d91b6
treea9b50f2fb7c7be7b226e39921a6e961e95d59f26
parentd6cb0f9de4e3c12bf88183b9bf07b9eaebc53677
manual: clarify _FILE_OFFSET_BITS Y2038 implications [BZ #34095]

The existing paragraph warning about _FILE_OFFSET_BITS default changes
due to Y2038 is correct but confusing, as it does not explicitly state
why time_t concerns affect _FILE_OFFSET_BITS.

Clarify that _TIME_BITS=64 (needed for Y2038 safety) requires
_FILE_OFFSET_BITS=64, so when systems migrate to 64-bit time_t by
default, _FILE_OFFSET_BITS will also need to default to 64, even for
applications that do not handle large files.

This addresses the confusion noted in the bug report while keeping the
warning in place, as the transitive dependency makes it relevant to
the _FILE_OFFSET_BITS documentation.

Signed-off-by: Shamil Abdulaev <ashamil435@gmail.com>
manual/creature.texi