diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-01-13 10:28:24 +0000 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-01-13 10:28:24 +0000 |
commit | b19e21baac12a6190e55090ffd66fe932eebf4ce (patch) | |
tree | 1be3b9f6970ed7feb42abe9883e3410e1e312066 /sys/fs/tmpfs/tmpfs_fifoops.c | |
parent | 1e83ccb86c47222e815a1121dda84135e2480e8d (diff) | |
download | FreeBSD-src-b19e21baac12a6190e55090ffd66fe932eebf4ce.zip FreeBSD-src-b19e21baac12a6190e55090ffd66fe932eebf4ce.tar.gz |
MFC r310718:
bzip2 does not exit after showing license as requested with --version
or --license as most apps would do, instead it waits for data to
compress on stdin. Because of that, if `bzip2 --version' is called,
bogus `bzip2: I won't write compressed data to a terminal' error
message will be displayed, and checking for bzip2 version in scripts
as in
bzip2 --version 2>&1 | grep -o "Version [^,]*"
will hand as bzip2 would wait for data to compress on stdin. Fix
this by exiting right after showing version/license text.
I've tried to push this upstream for more than a year, but author
is unresponsive, so upstream may be considered dead.
Ubuntu applies similar fix, for the note.
PR: 199443
Approved by: dim, bapt
Differential Revision: D8924
Diffstat (limited to 'sys/fs/tmpfs/tmpfs_fifoops.c')
0 files changed, 0 insertions, 0 deletions