]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
compress: Allow uncompress -c with multiple pathnames, as required by POSIX.
authorjilles <jilles@FreeBSD.org>
Sun, 21 May 2017 14:35:16 +0000 (14:35 +0000)
committerjilles <jilles@FreeBSD.org>
Sun, 21 May 2017 14:35:16 +0000 (14:35 +0000)
commit8cc8785d131456fdf423f600e8179c7ba15ef6bc
treea90ccf97eeb1b4f5c31b78b8ce44ec021035452b
parent234c83fd92b2be7e954ade5cfa627609eae237a6
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
Reported by: Jörg Schilling
usr.bin/compress/compress.c
usr.bin/compress/tests/compress_test.sh