simplify and save a few bytes
committer: jreiser <jreiser> 1141488398 +0000
This commit is contained in:
@@ -263,11 +263,11 @@ do_xmap(
|
|||||||
if (xi) {
|
if (xi) {
|
||||||
unpackExtent(xi, &xo, f_decompress, f_unf);
|
unpackExtent(xi, &xo, f_decompress, f_unf);
|
||||||
}
|
}
|
||||||
if (xi || (PROT_WRITE & prot)) {
|
if (PROT_WRITE & prot) {
|
||||||
bzero(addr, frag); // fragment at lo end
|
bzero(addr, frag); // fragment at lo end
|
||||||
}
|
}
|
||||||
frag = (-mlen) &~ PAGE_MASK; // distance to next page boundary
|
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
|
bzero(mlen+addr, frag); // fragment at hi end
|
||||||
}
|
}
|
||||||
if (xi) {
|
if (xi) {
|
||||||
|
|||||||
Reference in New Issue
Block a user