Subject: Re: Patches from GNATS db broken
To: Toru TAKAMIZU <ttaka@earth.email.ne.jp>
From: Douglas Brebner <netbsd@fang.demon.co.uk>
List: current-users
Date: 01/18/2003 17:29:08
On Sat, 18 Jan 2003 10:57:19 +0900
Toru TAKAMIZU <ttaka@earth.email.ne.jp> wrote:

> Fri, Jan 17, 2003 at 05:58:00PM -0500
> Greg A. Woods wrote:
> 
> > If you really must extract patches from PRs retrieved via the WWW
> > interface then the best tool to fetch them is probably NetBSD's own
> > "ftp" client.
> > 
> > For example for PR#19257:
> 
> Thank you for your step by step explanation -- this is not an irony,
> I mean it! But unfortunately, even if you use NetBSD's "ftp" the
> problem remains. I had already tried wget and got the same result.
> I diff'd the files between "ftp"'s and wget's. No difference.

I was bitten by this problem too. It turns out that the WWW interface
replaces some characters with HTML entities, such as " with &quot;

These entities need to be converted back to the characters before the
patch will apply

HTH
-- 
Douglas