Up to [local] / src / usr.bin / compress
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_7_5_BASE
Revision 1.106 / (download) - annotate - [select for diffs], Sat Nov 11 02:52:55 2023 UTC (6 months, 4 weeks ago) by gkoehler
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
HEAD
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)
Ignore -N in "gzip -dN <in.gz" and "zcat -N in.gz" Have -c override -N, like other gzip implementations. Before, our -N (decompress to stored name) overrode -c (cat to stdout) and crashed with a pledge violation, because the pledge for -c excludes wpath. Guilherme Janczak reported the pledge violation in July 2022 and provided a diff to prevent it, along with a regress test. I rewrote the diff and expanded the regress. ok kn@ millert@