Re: bad patches (was: Patches vs complete tarballs....)

Shawn Leas (sleas@ixion.honeywell.com)
Wed, 12 Aug 1998 14:51:44 -0500 (CDT)


On Wed, 12 Aug 1998, Albert D. Cahalan wrote:

> If the recipient is supposed to use the -pN option, do not
> send output that looks like this:
>
> diff -Naur v2.0.29/prog/README prog/README
> --- v2.0.29/prog/README Mon Mar 10 15:13:12 1997
> +++ prog/README Mon Mar 17 14:58:22 1997
>
> because the two file names have different numbers of
> slashes, and different versions of patch interpret the
> file names differently. To avoid confusion, send output
> that looks like this instead:
>
> diff -Naur v2.0.29/prog/README v2.0.30/prog/README
> --- v2.0.29/prog/README Mon Mar 10 15:13:12 1997
> +++ v2.0.30/prog/README Mon Mar 17 14:58:22 1997
>
> --------------
>
> The "bad" example looks almost like a kernel patch, including an
> oddly familiar version number. Hmmm, perhaps it is a hint?

Notice the prog dir is inside a seperate subdir, but kernel patches simply
have a ver appended to a dir. This is OK.

-Shawn
<=========== America Held Hostage ===========>
Day 2030 for the poor and the middle class.
Day 2049 for the rich and the dead.
892 days remaining in the Raw Deal.
<============================================>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html