Subject: bug#23226: diffutils does not compile with C89 compiler

From: Brian Nixon <[email-masked]>
Date: Tue, 5 Apr 2016 20:53:11 +0000 (UTC)

Hello,

Hardly a big problem, but the diffutils source contains some variable declarations after statements, as follows: 
(line numbers refer to git master as of approx. 2016-04-05T20:20Z)

	src/dir.c:308	int v1 = ...
	src/dir.c:366	for (char const **p = ...
	src/io.c:298	size_t repetitions = ...

This doesn’t correspond with the documentation that states that a C89 compiler should be sufficient to compile:

	README:33	This program requires a Standard C compiler (C89 or later)...

Regards,

Brian