1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

simplify and save a few bytes

committer: jreiser <jreiser> 1141488398 +0000
This commit is contained in:
John Reiser 2006-03-04 16:06:38 +00:00
parent c3b3e1b1b9
commit 62ac733b09

View File

@ -263,11 +263,11 @@ do_xmap(
if (xi) {
unpackExtent(xi, &xo, f_decompress, f_unf);
}
if (xi || (PROT_WRITE & prot)) {
if (PROT_WRITE & prot) {
bzero(addr, frag); // fragment at lo end
}
frag = (-mlen) &~ PAGE_MASK; // distance to next page boundary
if (xi || (PROT_WRITE & prot)) {
if (PROT_WRITE & prot) {
bzero(mlen+addr, frag); // fragment at hi end
}
if (xi) {