Subject: Re: pkg_info: patch to create summary file
To: None <tech-pkg@NetBSD.org>
From: None <joerg@britannica.bec.de>
List: tech-pkg
Date: 04/11/2006 16:42:57
On Tue, Apr 11, 2006 at 04:01:31PM +0200, Dieter Baron wrote:
>   Another portability question: how do I portably and correctly print
> an off_t?  (That's needed to include the file size of binary
> packages.)

Cast to intmax_t and use %jd, if that's not support by the platform,
fallback to cast to long long and %lld.

Joerg