Summary: | uncompress is in conflict with POSIX | ||
---|---|---|---|
Product: | Base System | Reporter: | Jörg Schilling <schily> |
Component: | bin | Assignee: | Jilles Tjoelker <jilles> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | jilles |
Priority: | --- | Flags: | jilles:
mfc-stable11+
jilles: mfc-stable10+ |
Version: | 10.3-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
Jörg Schilling
2017-05-18 16:59:47 UTC
Assign to -standards. Hi, Thanks for the report. I agree for uncompress -c. Allowing multiple filenames does not seem to make sense for compress -c, since the resulting stream cannot be decompressed. A commit references this bug: Author: jilles Date: Sun May 21 14:35:16 UTC 2017 New revision: 318592 URL: https://svnweb.freebsd.org/changeset/base/318592 Log: 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 Changes: head/usr.bin/compress/compress.c head/usr.bin/compress/tests/compress_test.sh Fixed in head, waiting for MFC test period. A commit references this bug: Author: jilles Date: Wed May 31 21:54:21 UTC 2017 New revision: 319362 URL: https://svnweb.freebsd.org/changeset/base/319362 Log: 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 Changes: _U stable/11/ stable/11/usr.bin/compress/compress.c stable/11/usr.bin/compress/tests/compress_test.sh A commit references this bug: Author: jilles Date: Sat Jul 1 13:03:03 UTC 2017 New revision: 320532 URL: https://svnweb.freebsd.org/changeset/base/320532 Log: 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 Changes: _U stable/10/ stable/10/usr.bin/compress/compress.c stable/10/usr.bin/compress/tests/compress_test.sh |