https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102259
--- Comment #14 from Michel Morin <mimomorin at gmail dot com> --- Thanks, the committed version works fine too. Note that `read` will fail when n > INT_MAX (without equality), so we can define _GLIBCXX_MAX_READ_SIZE simply as __INT_MAX__.