mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Fix MODE=dbg build
This commit is contained in:
parent
bc3d84341d
commit
97bb5a3a80
3 changed files with 19 additions and 18 deletions
8
third_party/zlib/inffast.c
vendored
8
third_party/zlib/inffast.c
vendored
|
@ -122,7 +122,7 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
|
|||
bits -= op;
|
||||
op = (unsigned)(here->op);
|
||||
if (op == 0) { /* literal */
|
||||
Tracevv((stderr, here->val >= 0x20 && here->val < 0x7f ?
|
||||
Tracevv((here->val >= 0x20 && here->val < 0x7f ?
|
||||
"inflate: literal '%c'\n" :
|
||||
"inflate: literal 0x%02x\n", here->val));
|
||||
*out++ = (unsigned char)(here->val);
|
||||
|
@ -139,7 +139,7 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
|
|||
hold >>= op;
|
||||
bits -= op;
|
||||
}
|
||||
Tracevv((stderr, "inflate: length %u\n", len));
|
||||
Tracevv(("inflate: length %u\n", len));
|
||||
if (bits < 15) {
|
||||
hold += (unsigned long)(*in++) << bits;
|
||||
bits += 8;
|
||||
|
@ -173,7 +173,7 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
|
|||
#endif
|
||||
hold >>= op;
|
||||
bits -= op;
|
||||
Tracevv((stderr, "inflate: distance %u\n", dist));
|
||||
Tracevv(("inflate: distance %u\n", dist));
|
||||
op = (unsigned)(out - beg); /* max distance in output */
|
||||
if (dist > op) { /* see if copy from window */
|
||||
op = dist - op; /* distance back in window */
|
||||
|
@ -286,7 +286,7 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
|
|||
goto dolen;
|
||||
}
|
||||
else if (op & 32) { /* end-of-block */
|
||||
Tracevv((stderr, "inflate: end of block\n"));
|
||||
Tracevv(("inflate: end of block\n"));
|
||||
state->mode = TYPE;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue