PATCH - ksymoops

Kevin Lentin (kevinl@cs.monash.edu.au)
Tue, 20 Feb 1996 21:11:25 +1100 (EST)


There's a problem in ksymoops where the Trace: loop sucks up the Code: tag
and so the Code: loop never gets executed. Simplest solution is to remove
the else so that it 'drops' into the Code: loop.

--- ksymoops.cc.orig Tue Feb 20 21:10:31 1996
+++ ksymoops.cc Tue Feb 20 20:58:29 1996
@@ -305,7 +305,8 @@
cout << endl;
}
cout << endl;
- } else if (strequ(buffer, "ode:") || strequ(buffer, "Code:")) {
+ }
+ if (strequ(buffer, "ode:") || strequ(buffer, "Code:")) {
// The 'C' might have been consumed as a hex number
unsigned char code[code_size];
unsigned char* cp = code;

-- 
[=======================================================================]
[ Kevin Lentin                 |finger kevinl@fangorn.cs.monash.edu.au| ]
[ K.Lentin@cs.monash.edu.au    |for PGP public key block. Fingerprint | ]
[ Macintrash: 'Just say NO!'   |6024308DE1F84314  811B511DBA6FD596    | ]
[=======================================================================]