PATCH: Use diff -u in fixincludes/check.tpl

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Mar 2 20:47:00 GMT 2010


Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:

> * Rainer Orth wrote on Tue, Mar 02, 2010 at 09:31:14PM CET:
>> While looking at the output of make check in fixincludes, I noticed that
>> it is in context diff format by default.  I think the unidiff format is
>> easier to read and generally preferred by the GCC project, therefore I'd
>> like to propose the following patch.
>
> diff -u is not portable, however.

True, though `Installing GCC' recommends GNU diffutils 2.7+ for
modifying GCC.  Since fixincludes make check depends on autogen anyway,
which isn't probably that widespread, the switch may be useful
nonetheless.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list