Menu

patch not working

Help
Mike Kay
2009-07-10
2012-07-26
  • Mike Kay

    Mike Kay - 2009-07-10

    When I run the patch command I get the following error: Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, lline 354

    This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information.

    In the MS Windows error box under problem details I get the following:
    Problem Even Name: APPCRASH
    Application Name: patch.exe
    Application Version: 2.5.9.2670
    Application timestamp: 4648ee9d
    Fault Module Name: msvcrt.dll
    Fault Module Version: 7.0.6001.18000
    Fault Module Timestamp: 4791a727
    Exception Code: 40000015
    Exception Offset: 00064af5
    OS Version: 6.0.6001.2.1.0.272.7
    Locale ID: 4105
    Then there is 4 lines of additional information with long lines of numbers. I am running this on MS Server 2008 standard. Is this the issue? I downloaded msvcrt.dll and msvcp60.dll and added them to the system directory.

    Any help appreciated.

     
    • GnuWin

      GnuWin - 2009-07-11

      Probably the patch file has Unix line endings. Convert these to MS-Windows line endings with an editor or with unix2dos from the CygUtils package.

       
MongoDB Logo MongoDB