From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: gas2@cygnus.com Subject: whih patch should I run? Date: Tue, 11 Jul 1995 23:43:00 -0000 Message-id: X-SW-Source: 1995/msg00139.html Hello, To ask a silly question. Which version of patch should I be using? The diffs for going between gas 950620 and 950704 contained entries of the form: --- diff -u -r --new-file --show-function-line=^[A-Za-z_] /cygint/s1/users/raeburn/offsite/snap/new/../old/gas-950627/ld/testsuite/ ld-versados/t1.ld ./ld/testsuite/ld-versados/t1.ld --- /cygint/s1/users/raeburn/offsite/snap/new/../old/gas-950627/ld/testsuite/ld- versados/t1.ld Wed Jun 21 10:15:05 1995 +++ ./ld/testsuite/ld-versados/t1.ld Mon Jul 3 14:35:18 1995 @@ -278,4 +278,4 @@ SECTIONS .PWRV = 0xfeedface; */ -} \ No newline at end of file +} --- and and I've found that the versions of patch that I've tried (2.0 and 2.1 on SunOS and NetBSD) and 2.1 barf because of a `malformed patch'. Is there a newer version of patch that I should be using that saves this need to handle diffs like the above by hand? Any help appreciated on this tickler ... regards, Andrew