Re: [tcpdump-workers] [tcpdump] About HAVE_NO_PRINTF_Z

2023-01-12 Thread Francois-Xavier Le Bail via tcpdump-workers
--- Begin Message --- On 12/01/2023 10:04, Denis Ovsienko wrote: > Do you think it would be > appropriate to use [again] %lu instead of %zu for size_t [...] on systems > that don't have %zu [...]? The problem is that the needed conversion specification is "%lu" on 64 bits system and "%u" on 32

Re: [tcpdump-workers] [tcpdump] About HAVE_NO_PRINTF_Z

2023-01-12 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message --- On Thu, 12 Jan 2023 00:10:22 -0800 Guy Harris via tcpdump-workers wrote: > So, if we care about %z support: > > on UN*Xes, we'd have to drop support for OSes that don't > provide a C library that supports it; Thank you for the detailed analysis, Guy. I did not

Re: [tcpdump-workers] [tcpdump] About HAVE_NO_PRINTF_Z

2023-01-12 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Jan 11, 2023, at 11:06 PM, Guy Harris via tcpdump-workers wrote: > On UN*Xes, the C library is typically the system API library, so it's bundled > with the OS rather than the compiler, so I don't know whether this is an > issue of Sun C 5.9 or SunOS 5.9 (the core OS