Argonne National Laboratory

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  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 
<== Date ==> <== Thread ==>

Subject: 'Patch' tool for windows
From: Josh Stein <stein@aps.anl.gov>
To: tech-talk@aps.anl.gov
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 
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 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·