On Tue, Nov 26, 2024 at 2:29 PM Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
> -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
> +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
. o O ( I wonder if that missing Debian/Ubuntu bugfix[1] is why our
AIX animals have -D_LARGE_FILES=1 jammed into $CC, even though
AC_SYS_LARGEFILES claims to understand AIX )
[1] https://sources.debian.org/patches/autoconf2.69/2.69-3.1/