Article View: comp.sources.bugs
Article #2252Bug in patch 2.0 (patchlevel 12)
From: Jonathan Knight
Date: Mon, 29 May 1989 22:08
Date: Mon, 29 May 1989 22:08
63 lines
2133 bytes
2133 bytes
I tried to apply patch 8 to the elm system and found that patch
bombed out with an asserion error. So I invoked patch like
this:
patch -p -N -x511 < patch8
And here's what the end of the output looked like:
---------------------------------------------
29
30 if (! retransmit && copy_msg != FORM)
31 if (reply != NULL)
32 (void) fclose(reply); /* on replies, it won't be open! */
Hunk #5 succeeded at 172.
fillsrc 66, filldst 8, rb 8, e+1 67
Assertion failed: file pch.c, line 719
%
---------------------------------------------
Here's what the patch file (patch8) looks like around the hunk that
caused the problem:
---------------------------------------------
-
if (! retransmit && copy_msg != FORM)
if (reply != NULL)
(void) fclose(reply); /* on replies, it won't be open! */
--- 172,177 ----
***************
*** 322,328 ****
--- 309,366 ----
}
else {
+
copy_message_across(reply, real_reply, FALSE);
+
+ /* Append signature */
+
****** THERE ARE >30 LINES STARTING + HERE ******
+ strcpy(filename2, sig);
+ (void) append(real_reply,+ }
+ }
fclose(real_reply);
Index: src/mkhdrs.c
Prereq: 2.7
*** ../elm2.2/src/mkhdrs.c Thu Mar 30 10:36:33 1989
--- src/mkhdrs.c
---------------------------------------------
Any help would be appreciated...
--
______ JANET :jonathan@uk.ac.keele.cs Jonathan Knight,
/ BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science
/ _ __ other :jonathan@cs.keele.ac.uk University of Keele, Keele,
(_/ (_) / / UUCP :...!ukc!kl-cs!jonathan Staffordshire. ST5 5BG. U.K.
Technical Details
Message-ID:
<618@kl-cs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!ukc!kl-cs!jonathanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!ukc!kl-cs!jonathan From: jonathan@cs.keele.ac.uk (Jonathan Knight) Newsgroups: comp.sources.bugs Subject: Bug in patch 2.0 (patchlevel 12) Keywords: bug patch Message-ID: <618@kl-cs.UUCP> Date: 29 May 89 22:08:54 GMT Organization: University of Keele, England Lines: 63