Subject: Re: How to compute the checksum of patch files
To: Hubert Feyrer <firstname.lastname@example.org>
From: Roland Illig <rillig@NetBSD.org>
Date: 12/01/2005 05:20:52
Hubert Feyrer wrote:
> On Thu, 1 Dec 2005, Roland Illig wrote:
>> --- strlcat.c.orig 2005-05-10 16:48:24.000000000 -0400
>> +++ strlcat.c
>> @@ -35,6 +35,7 @@ __RCSID("$NetBSD: strlcat.c,v 1.16 2003/
> Is adding this standard "diff -u"/pkgdiff behaviour?
Yes, it is.
> I'd rather get rid of that RCS ID there instead of support it.
I generally find it quite useful to see the C function a change is
happening in. That's what the @@ line is for.
By the way, the $NetBSD could also appear at other places. See
misc/openoffice/patches/patch-ak, lines 9--10, for an even worse
example. These lines are excluded from the checksum and could be forged
without changing the checksum.