pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: va_arg and netbsd-6 ...



On Fri, Jun 15, 2012 at 05:55:52PM +0200, Hauke Fath wrote:
> Using %jd, with and without casting the argument to intmax_t, gave me the
> same SIGSEV. Using %lld works, but is not backwards compatible. So it'll
> probably be a PRItimet format along the lines of what they do for off_t.

Huh? You mean something like:

   time_t t = 0;
   printf("%jd\n", (intmax_t)t);

caused a SIGSEGV? This would be a serious bug, can you provide a small test
program and file a PR?

Martin


Home | Main Index | Thread Index | Old Index