David Kalnischkies
|
69c2ecbdc9
various simple changes to fix cppcheck warnings
|
13 years ago |
David Kalnischkies
|
b019fbab55
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
d3aac32ece
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
500400fedd
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
ff477ee133
ensure that d is set before accessing it
|
14 years ago |
David Kalnischkies
|
fbb89d946d
ensure that in error conditions the Fail flag is set
|
14 years ago |
David Kalnischkies
|
adbd7eb4db
collect zombie (de)compressor processes on reopen
|
14 years ago |
David Kalnischkies
|
ba667cf74b
ensure that we do init d only once and especially not with its own
|
14 years ago |
David Kalnischkies
|
afb093cd9b
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
0b4895d3d2
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
d68d65ad63
use a static FileFd::Write overload to reduce duplication of write()-retry code
|
14 years ago |
David Kalnischkies
|
c4997486bf
- add libbz2-dev as new build-dependency
|
14 years ago |
David Kalnischkies
|
8dd623dbd6
if we have zlib builtin insert add a dummy gzip compressor for FileFD
|
14 years ago |
David Kalnischkies
|
7efb8c8ef1
detect zlib correctly. We still don't allow to build without it to remain
|
14 years ago |
David Kalnischkies
|
84e254d6ae
* apt-pkg/contrib/fileutl.cc:
|
14 years ago |
David Kalnischkies
|
fbb2c7e04d
* apt-pkg/cachefile.cc:
|
14 years ago |
Michael Vogt
|
bce778a312
rework previous patch to avoid changing the inline code
|
14 years ago |
David Kalnischkies
|
65c72a4b84
* apt-pkg/contrib/fileutl.h:
|
14 years ago |
David Kalnischkies
|
b711c01e77
improve error reporting in case of errors in combination with zlib
|
14 years ago |
David Kalnischkies
|
4046885049
usage of Skipping in pipes can't work, so we ignore-read instead
|
14 years ago |
David Kalnischkies
|
1abbc47c04
keep track of where we are in a filedescriptor so we can use it as Tell()
|
14 years ago |
David Kalnischkies
|
6fd947bd48
try seeking on fds opened with OpenDescriptor before giving up
|
14 years ago |
David Kalnischkies
|
561f860a38
refactor compressor calling so that we don't (need to) export ExecCompressor
|
14 years ago |
David Kalnischkies
|
52b47296f6
use FileFd instead of forking the compression childs by hand
|
14 years ago |
David Kalnischkies
|
aee1aac6f7
allow Open() and OpenDescriptor() to be called with a Compressor
|
14 years ago |
David Kalnischkies
|
73437844e2
note to myself: In case you rename something, make sure that you have
|
14 years ago |
David Kalnischkies
|
699b209e51
Allow the FileFd to use an external Compressor to uncompress a given file
|
14 years ago |
David Kalnischkies
|
032bd56ff8
- add a ReadLine method
|
14 years ago |
David Kalnischkies
|
76a763e1f8
* apt-pkg/contrib/fileutl.{h,cc}:
|
14 years ago |
David Kalnischkies
|
468720c59f
enable FileFd to guess the compressor based on the filename if requested or
|
14 years ago |