Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

Jason H <[email protected]> Wed, 22 Jul 2009 20:26:24 -0700 (PDT)
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
Could someone please fix patch so that the following assertion does not happen:
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

This comes from attempting to use a diff file that uses (LF) on win32 which uses (CRLF). The easy fix is to open it in write:
C:\>write file.diff
<save file>

Which saves it with CRLF. Then apply the patch. 
But searching in searching google,  this happens _a_lot_, and the write solution is never mentioned.


 Thanks!


      

------------------------------------------------------------------------------