Tag-Suchergebnis ‘BugFix, GNU’

GNU Patch-Probleme unter Windows

Montag, 31. März 2008

Ein kleiner Tipp für all jene, die die GnuWin321-Tools benutzen und Probleme haben, einen Patch anzuwenden, wie in diesem Beispiel:

C:\>patch -p1 < ..\program.patch
patching file `Makefile.in'
Assertion failed: hunk, file patch.c, line 321

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

Das Problem ist schnell gelöst, wenn man die Zeilenumbrüche in der Patch-Datei, die meistens Unix-style (also lediglich NL-Zeichen) sind, in normale Windows-Zeilenumbrüche (also CR-NL) umwandelt. Schon gibt es keine Probleme mehr.

  1. 1 Die „GnuWin32“ sind eine native Portierung einiger GNU-Utilities (wie man sie etwa von Linux kennt) auf die Windows-Plattform.

Powered by Simple Tagging (1.6.2)


This blog uses DigoWatchWP an anti-fraud plugin for Wordpress.