/[base]
ViewVC logotype

Revision 312062


Jump to revision: Previous Next
Author: amdmi3
Date: Fri Jan 13 10:28:26 2017 UTC (7 years, 5 months ago)
Changed paths: 2
Log Message:
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


Changed paths

Path Details
Directorystable/11/ modified , props changed
Directorystable/11/contrib/bzip2/bzip2.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27