Re: [PATCH] apr_off_t is 'long long' but APR_OFF_T_FMT is "ld" on OpenBSD

2019-01-17 Thread William A Rowe Jr
On Thu, Jan 17, 2019 at 2:18 PM Stefan Sperling wrote: > > I would appreciate if someone could commit my configure.in patch > which adds overrides for OpenBSD specifically. That would fix my > immediate problem. And perhaps a better fix could be devised later? > I'd prefer we not glue around

Re: [PATCH] apr_off_t is 'long long' but APR_OFF_T_FMT is "ld" on OpenBSD

2019-01-17 Thread Stefan Sperling
On Thu, Jan 17, 2019 at 03:40:26PM +0100, Stefan Eissing wrote: > I had the issue in one of my configure.ac that the extra CPPFLAGS were not > added, as from > > > apxs -q EXTRA_CPPFLAGS > > and it all compiled, except APR_OFF_T_FMT was ld instead of lld on MacOS. > > Maybe this is the same

Re: [PATCH] apr_off_t is 'long long' but APR_OFF_T_FMT is "ld" on OpenBSD

2019-01-17 Thread Stefan Sperling
On Thu, Jan 17, 2019 at 03:24:41PM +0100, Branko Čibej wrote: > On 17.01.2019 13:28, Stefan Sperling wrote: > > On Thu, Jan 10, 2019 at 01:17:40AM +0100, Branko Čibej wrote: > >> I get that part, my question was related to APR's configure setting the > >> type of apr_off_t and its format specifier

Re: [PATCH] apr_off_t is 'long long' but APR_OFF_T_FMT is "ld" on OpenBSD

2019-01-17 Thread Stefan Eissing
I had the issue in one of my configure.ac that the extra CPPFLAGS were not added, as from > apxs -q EXTRA_CPPFLAGS and it all compiled, except APR_OFF_T_FMT was ld instead of lld on MacOS. Maybe this is the same effect? Cheers, Stefan > Am 17.01.2019 um 15:24 schrieb Branko Čibej : > > On

Re: [PATCH] apr_off_t is 'long long' but APR_OFF_T_FMT is "ld" on OpenBSD

2019-01-17 Thread Branko Čibej
On 17.01.2019 13:28, Stefan Sperling wrote: > On Thu, Jan 10, 2019 at 01:17:40AM +0100, Branko Čibej wrote: >> I get that part, my question was related to APR's configure setting the >> type of apr_off_t and its format specifier correctly on Linux but >> incorrectly on OpenBSD, even though they're

Re: [PATCH] apr_off_t is 'long long' but APR_OFF_T_FMT is "ld" on OpenBSD

2019-01-17 Thread Stefan Sperling
On Thu, Jan 10, 2019 at 01:17:40AM +0100, Branko Čibej wrote: > I get that part, my question was related to APR's configure setting the > type of apr_off_t and its format specifier correctly on Linux but > incorrectly on OpenBSD, even though they're equivalent. It seems to be wrong on Linux as

Re: [PATCH] apr_off_t is 'long long' but APR_OFF_T_FMT is "ld" on OpenBSD

2019-01-09 Thread Branko Čibej
On 09.01.2019 23:47, William A Rowe Jr wrote: > On Wed, Jan 9, 2019 at 3:26 PM Branko Čibej wrote: > >>> On Wed, Jan 9, 2019 at 9:38 AM Stefan Sperling wrote: >>> APR's configure script logic results in inconsistent type and format string definitions on OpenBSD. apr_off_t is defined as

Re: [PATCH] apr_off_t is 'long long' but APR_OFF_T_FMT is "ld" on OpenBSD

2019-01-09 Thread William A Rowe Jr
On Wed, Jan 9, 2019 at 3:26 PM Branko Čibej wrote: > > On Wed, Jan 9, 2019 at 9:38 AM Stefan Sperling wrote: > > > >> APR's configure script logic results in inconsistent type and format > >> string definitions on OpenBSD. apr_off_t is defined as 'long long' > >> but APR_OFF_T_FMT is defined as

Re: [PATCH] apr_off_t is 'long long' but APR_OFF_T_FMT is "ld" on OpenBSD

2019-01-09 Thread William A Rowe Jr
On Wed, Jan 9, 2019 at 9:38 AM Stefan Sperling wrote: > APR's configure script logic results in inconsistent type and format > string definitions on OpenBSD. apr_off_t is defined as 'long long' > but APR_OFF_T_FMT is defined as "ld". > > This results in obvious build failures e.g. if httpd is