mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
- bzopen_or_bzdopen in bzlib.c appends us our binary mode in a strcat call, we don't need it for bzopen(); git-svn-id: file:///svn/phpbb/trunk@6688 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4308f5e8a5
commit
6349635039
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ class compress_tar extends compress
|
|||
function open()
|
||||
{
|
||||
$fzopen = ($this->isbz && function_exists('bzopen')) ? 'bzopen' : (($this->isgz && @extension_loaded('zlib')) ? 'gzopen' : 'fopen');
|
||||
$this->fp = @$fzopen($this->file, $this->mode . 'b' . (($fzopen == 'gzopen') ? '9' : ''));
|
||||
$this->fp = @$fzopen($this->file, $this->mode . (($fzopen == 'bzopen') ? '' : 'b') . (($fzopen == 'gzopen') ? '9' : ''));
|
||||
|
||||
if (!$this->fp)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue