This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: warn on memset with constant length 0


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.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]