Mercurial > hg > svcore
comparison data/fileio/BZipFileDevice.cpp @ 1429:48e9f538e6e9
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | f204f2fcb15e |
children | 70e172e6cc59 |
comparison
equal
deleted
inserted
replaced
1428:87ae75da6527 | 1429:48e9f538e6e9 |
---|---|
187 int bzError = BZ_OK; | 187 int bzError = BZ_OK; |
188 | 188 |
189 if (openMode() & WriteOnly) { | 189 if (openMode() & WriteOnly) { |
190 unsigned int in = 0, out = 0; | 190 unsigned int in = 0, out = 0; |
191 BZ2_bzWriteClose(&bzError, m_bzFile, 0, &in, &out); | 191 BZ2_bzWriteClose(&bzError, m_bzFile, 0, &in, &out); |
192 // cerr << "Wrote bzip2 stream (in=" << in << ", out=" << out << ")" << endl; | 192 // cerr << "Wrote bzip2 stream (in=" << in << ", out=" << out << ")" << endl; |
193 if (bzError != BZ_OK) { | 193 if (bzError != BZ_OK) { |
194 setErrorString(tr("bzip2 stream write close error")); | 194 setErrorString(tr("bzip2 stream write close error")); |
195 } | 195 } |
196 fclose(m_file); | 196 fclose(m_file); |
197 m_qfile.close(); | 197 m_qfile.close(); |