EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: 'Patch' tool for windows
From: Josh Stein <[email protected]>
To: [email protected]
Date: Fri, 11 Nov 2011 08:50:24 -0600
Has anyone found an unbundled Patch tool which works properly for Windows?

I've tried the gwin32 version of patch (which shows as "patch 2.5.9" when 'patch -v' is executed), invoking it as:

patch -p0 < file.patch

this fails with this rather cryptic message:
"Hunk #1 FAILED at 266"
and then dies

Searching on the internet lead me down the path of unix vs. windows line termination woes, but attempts at conversion did not yield a patch file that worked.

Any ideas? It would be wonderful to be able to apply the patches as shown in the "known problems" section of base.

--J


Replies:
RE: 'Patch' tool for windows Mark Rivers
Re: 'Patch' tool for windows Andrew Johnson

Navigate by Date:
Prev: StreamDevice 2.5: off by one Martin Konrad
Next: RE: 'Patch' tool for windows Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: StreamDevice 2.5: off by one Martin Konrad
Next: RE: 'Patch' tool for windows Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024