Article 4S1NY zlib, pigz, header issue

zlib, pigz, header issue

by
qrange
from LinuxQuestions.org on (#4S1NY)
I have a problem compressing data with zlib level 8.

- 'pigz' creates file with '78 5E' header.
- 'zlib-flate' (qpdf) creates almost identical file except it has '78 DA' header (same as level 9).
- .psarc seems to use '78 DA' header too.

so, there seems to be a bug in "pigz v2.4" that makes wrong header?

(using these options:
cat file.dat | pigz -8 --zlib --no-time --no-name >file.zlib
)

thanks.latest?d=yIl2AUoC8zA latest?i=YG1QKIpzE5M:ZyVZNsstAyA:F7zBnMy latest?i=YG1QKIpzE5M:ZyVZNsstAyA:V_sGLiP latest?d=qj6IDK7rITs latest?i=YG1QKIpzE5M:ZyVZNsstAyA:gIN9vFwYG1QKIpzE5M
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments