On 18 Apr 2024, at 12:14, Ruediger Pluem <rpl...@apache.org> wrote: >> +#define APR_BUFFER_MAX APR_SIZE_MAX/2 > > Why no longer APR_OFF_MAX?
As was pointed out, apr_off_t is always 64 bits would still break on Windows. Inside the API, we need a very big, signed, value, and apr_off_t is perfect. Outside the API, we need apr_size_t, halved. Regards, Graham --