]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r318592: compress: Allow uncompress -c with multiple pathnames,
authorjilles <jilles@FreeBSD.org>
Wed, 31 May 2017 21:54:21 +0000 (21:54 +0000)
committerjilles <jilles@FreeBSD.org>
Wed, 31 May 2017 21:54:21 +0000 (21:54 +0000)
commitf610ca91ebdbfbf7f7ffc54f1688ea44c99496e1
treea86dd3d393bdf3a3197c3f6c50f9e787a41e2898
parentc3b5aa85d2ebaa5534d6bf0ee2f879309c1bfd6e
MFC r318592: compress: Allow uncompress -c with multiple pathnames,
as required by POSIX.

Per POSIX, allow passing multiple pathnames to uncompress -c, concatenating
the uncompressed data.

Passing multiple pathnames to compress -c remains disallowed, since the
result cannot be decompressed.

PR: 219387
usr.bin/compress/compress.c
usr.bin/compress/tests/compress_test.sh