From: H. Peter Anvin Date: Fri, 27 May 2005 17:58:53 GMT Subject: Re: [PATCH] Fix ptrdiff_t vs. int Message-ID: <42975FDD.9050901@zytor.com> In-Reply-To: <42975C1F.8070102@oberhumer.com> Markus F.X.J. Oberhumer wrote: > > Many thanks. BTW, this is probably completely irrelevant on all > real-world machines and calling conventions, but still, lying on the > number of arguments in vararg-functions is not my favourite practice. > Bullshit. Think about the way stdarg works, and you should quickly figure out that it is perfectly safe to pass extra arguments. However, this code can also be rewritten: fputs(header, stdout); if (diff_output_format == DIFF_FORMAT_MACHINE) putchar('\0'); ... which is probably faster anyway. -hpa