Re: svn commit: r1917082 - /apr/apr/trunk/buffer/apr_buffer.c

"Graham Leggett via dev" <[email protected]>
Newsgroups gmane.comp.apache.apr.devel
Message-ID <[email protected]>
On 18 Apr 2024, at 12:14, Ruediger Pluem <[email protected]> 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
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.