checkPatch() resets

p_lx_elf.cpp p_lx_exc.cpp p_unix.cpp

committer: jreiser <jreiser> 1034906580 +0000
This commit is contained in:
John Reiser
2002-10-18 02:03:00 +00:00
parent 66206e8dd7
commit 69cec874a1
3 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -89,9 +89,9 @@ void PackUnix::writePackHeader(OutputFile *fo)
set_le32(buf+0, UPX_MAGIC_LE32);
set_le32(buf+4, UPX_MAGIC2_LE32);
checkPatch(NULL, 0, 0, 0);
checkPatch(NULL, 0, 0, 0); // reset
patchPackHeader(buf, hsize);
checkPatch(NULL, 0, 0, 0);
checkPatch(NULL, 0, 0, 0); // reset
fo->write(buf, hsize);
}