Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2000 23:43:22 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: PR's and patches
Message-ID:  <20000509234322.A18368@dan.emsphone.com>
In-Reply-To: <v04210106b53e6378dac8@[128.113.24.47]>; from "Garance A Drosihn" on Tue May  9 21:40:02 GMT 2000
References:  <v04210106b53e6378dac8@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 09), Garance A Drosihn said:
> Awhile ago I submitted a PR with a patch in it.  Today I was thinking
> that I would clean it up, and since I didn't keep a copy of the
> earlier patch I thought I would get it from the PR.
> 
> I used 'lynx' to download the PR, and it seemed to come down
> correctly (tab-characters where I'd expect them, etc), but the patch
> did not apply.  Turned out that because I was going thru a web
> interface, things like '<', '>', and '&' were changed to html-safe
> equivalents. Good for HTML, bad for C.
> 
> So, my dumb question is, how DO you pull patches out of a PR?

The best way is to fetch the PR through a protocol that doesn't force
you to escape characters :)  I can't find the gnats database on
ftp.freebsd.org, so your only solution would probably be to cvsup the
gnats collection (130 MB though).

A quick hack to get a single patch downloaded cleanly would be to load
lynx up on the page, and P)rint it to a local file.  Then patch -l
should work.

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000509234322.A18368>