This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: warn on memset with constant length 0
On 15 Dec 2006 12:14:19 -0500, Assar <email@example.com> wrote:
"Manuel LÃpez-IbÃÃez" <firstname.lastname@example.org> writes:
> On 15 Dec 2006 08:39:48 -0500, Assar <email@example.com> 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:
I hope that helps,