Just tried applying patch advcache-update_1-hook.patch. (Win Xp sp2, GnuWin32/patch.exe )

Received the following:

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

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

Please advise

Comments

Cataria’s picture

Did you ever get it working?

The problem likely has to do with the patch being written for Unix systems, and you're using it for Windows. I just had a similar problem, actually! If you resave it in MS-DOS mode though, it should take care of the problem. Two ways to do this:

1) Open the patch in Wordpad or some similar program. Click Save As, and in Save as type, select Text Document - MS-DOS format. Make sure the filename stays " advcache-update_1-hook.patch" though and not .txt.

2) Open command prompt. Go to whatever directory the patch is located. Type "edit advcache-update_1-hook.patch" Save the file.

Should work now!

kenorb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.