PATCH: warn on memset with constant length 0

Manuel López-Ibáñez lopezibanez@gmail.com
Fri Dec 15 17:39:00 GMT 2006


On 15 Dec 2006 12:14:19 -0500, Assar <assar@kth.se> wrote:
> "Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:
> > On 15 Dec 2006 08:39:48 -0500, Assar <assar@kth.se> wrote:
> >
> > When creating the patch, you should use the -p option of diff, please.
> > It helps a lot when reviewing the patch.
>
> I was not able to get my version of svn to send that to diff - I will
> need to investigate more why that's the case.

You just have to use:

svn diff --diff-cmd /usr/bin/diff -x '-up'

(the quotes around -up are essential)

If you want those to be the default, you can configure it as shown here:
http://archives.devshed.com/forums/showpost.php?p=4155769&postcount=2

I hope that helps,

Manuel.


More information about the Gcc-patches mailing list