mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Clean up more code
- Found some bugs in LLVM compiler-rt library - The useless LIBC_STUBS package is now deleted - Improve the overflow checking story even further - Get chibicc tests working in MODE=dbg mode again - The libc/isystem/ headers now have correctly named guards
This commit is contained in:
parent
afc58a8b41
commit
d7c79f43ef
294 changed files with 912 additions and 1208 deletions
8
third_party/zlib/deflate.c
vendored
8
third_party/zlib/deflate.c
vendored
|
@ -957,10 +957,10 @@ int ZEXPORT deflate(strm, flush)
|
|||
(s->gzhead->name == Z_NULL ? 0 : 8) +
|
||||
(s->gzhead->comment == Z_NULL ? 0 : 16)
|
||||
);
|
||||
put_byte(s, (Byte)(s->gzhead->time & 0xff));
|
||||
put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
|
||||
put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
|
||||
put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
|
||||
put_byte(s, (Byte)(s->gzhead->time_ & 0xff));
|
||||
put_byte(s, (Byte)((s->gzhead->time_ >> 8) & 0xff));
|
||||
put_byte(s, (Byte)((s->gzhead->time_ >> 16) & 0xff));
|
||||
put_byte(s, (Byte)((s->gzhead->time_ >> 24) & 0xff));
|
||||
put_byte(s, s->level == 9 ? 2 :
|
||||
(s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ?
|
||||
4 : 0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue