Problem using Patch

Help
Brian
2001-12-31
2003-08-19
  • Brian

    Brian - 2001-12-31

    I'm trying to use your patch utility to apply a .diff file to update a php application called WebCalendar (see sourceforge.net/projects/webcalendar)

    When I try to apply the patch using patch -i wc.dif and I get "unexpected end of hunk at line 31. I tried various other options without success.

    I contacted the author of this diff file, and he said he receives the same erro when using your utility, however the version of patch which comes with Linux works fine. He can't figure out the reason for this.

    Can you help? Is this a known problem with the patch utility? ....thanks....brian
    P.S. For more details on this problem, check out
    http://sourceforge.net/forum/forum.php?thread_id=622838&forum_id=11588

     
    • Victor Boctor

      Victor Boctor - 2003-08-19

      First, I like the idea of the native library, it is very nice compared to the trouble of installing cygwin.

      On the other hand, I am having the same problem trying to apply a patch to Mantis Bugtracker:

      D:\Inetpub\wwwroot\mantisbt>patch -i patch1.txt
      patching file `csv_export.php'
      Assertion failed: hunk, file patch.c, line 321

      Regards,
      Victor.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks