218 Commits (f19d6a77f60b876e5453614d24886aabdd242ef6)

Author SHA1 Message Date
David Kalnischkies cf4ff3b78d warning: cast from type A to type B casts away qualifiers [-Wcast-qual] 8 years ago
Michael Vogt c1409d1be8 add hashsum support in apt-file download and add more tests 8 years ago
Michael Vogt 1e3f4083db Fix typos in documentation (codespell) 8 years ago
David Kalnischkies 8190b07a4b simplify code some more to make reddit happy 8 years ago
David Kalnischkies 6008b79adf simplify code to make compilers happy 8 years ago
David Kalnischkies 9ce3cfc930 correct some style/performance/warnings from cppcheck 8 years ago
Michael Vogt a077861ad0 add basic tests for GetTempDir() 9 years ago
Michael Vogt 68e0172140 factor GetTempDir out 9 years ago
David Kalnischkies 9d39208af5 allow ':' in GetListOfFilesInDir 9 years ago
David Kalnischkies ad5051ef9d truncating /dev/null to zero is always successful 9 years ago
Michael Vogt 96ae6de5d3 fix regression that APT::Keep-Fds is not honored (closes: #730490) 9 years ago
Michael Vogt 61f954bff0 small documentation updates 9 years ago
Michael Vogt e45c4617e4 add new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly APT::Keep-Fds hack and also add a new PackageManagerProgressFd::StartDpkg() progress state 9 years ago
Michael Vogt 3286ad136c fix libapt-inst for >2G debs (closes: #725483) 9 years ago
Michael Vogt 98b69f9dd0 fix typo (mkostemp->mkstemp) 9 years ago
David Kalnischkies dc545c0bcd use mkstemp instead of mkostemp in FileFd::Open() 9 years ago
Angel Guzman Maeso 7335eebea6 replace usage of potential dangerous mktemp with mkstemp 9 years ago
Ángel Guzmán Maeso ec4835a14a apt-pkg:contrib Avoid compiler warning about sign-compare 9 years ago
Angel Guzman Maeso 7e02baf61f fix compiler warning about sign-compare 9 years ago
Michael Vogt 488011fa99 * lp:~mvo/apt/add-glob-function: 9 years ago
David Kalnischkies 638593bd05 ensure that FileFd::Size returns 0 in error cases 9 years ago
Michael Vogt 1b7bf822ad add missing "free(buffer) for allocated buffer 9 years ago
Michael Vogt 3d16590632 fix resource leak (thanks coverity) 9 years ago
Michael Vogt 96ab3c6f62 always "delete d" in FileFd::~FileFd to coverity happy 9 years ago
David Kalnischkies 2128d3fce4 fail in CopyFile if the FileFds have error flag set 9 years ago
David Kalnischkies f97bb52374 OpenDescriptor should autoclose fd always on error 9 years ago
David Kalnischkies ae635e3cf7 set Fail flag in FileFd on all errors consistently 9 years ago
Michael Vogt e3b402f403 fix double free (closes: #711045) 9 years ago
David Kalnischkies 69c2ecbdc9 various simple changes to fix cppcheck warnings 9 years ago
Michael Vogt 8d01b9d692 add "Glob()" to fileutl 10 years ago
David Kalnischkies b019fbab55 * apt-pkg/contrib/fileutl.cc: 10 years ago
Michael Vogt fe5804fc50 cherry pick -r1847 from bzr+ssh://bazaar.launchpad.net/~mvo/apt/lp346386/ 10 years ago
Michael Vogt 1c89c98a56 cherry pick -r1846 from bzr+ssh://bazaar.launchpad.net/~mvo/apt/lp346386/ 10 years ago
Michael Vogt 0854ad8b80 check when finished downloading the InRelease file if it has the expected gpg clearsign signature and if not download Release/Release.gpg instead 10 years ago
David Kalnischkies d3aac32ece * apt-pkg/contrib/fileutl.cc: 10 years ago
David Kalnischkies 500400fedd * apt-pkg/contrib/fileutl.cc: 10 years ago
David Kalnischkies ff477ee133 ensure that d is set before accessing it 10 years ago
David Kalnischkies fbb89d946d ensure that in error conditions the Fail flag is set 10 years ago
David Kalnischkies adbd7eb4db collect zombie (de)compressor processes on reopen 10 years ago
David Kalnischkies ba667cf74b ensure that we do init d only once and especially not with its own 10 years ago
David Kalnischkies afb093cd9b * apt-pkg/contrib/fileutl.cc: 10 years ago
David Kalnischkies 0b4895d3d2 * apt-pkg/contrib/fileutl.cc: 10 years ago
David Kalnischkies d68d65ad63 use a static FileFd::Write overload to reduce duplication of write()-retry code 10 years ago
David Kalnischkies c4997486bf - add libbz2-dev as new build-dependency 10 years ago
David Kalnischkies 8dd623dbd6 if we have zlib builtin insert add a dummy gzip compressor for FileFD 10 years ago
David Kalnischkies 7efb8c8ef1 detect zlib correctly. We still don't allow to build without it to remain 10 years ago
David Kalnischkies 84e254d6ae * apt-pkg/contrib/fileutl.cc: 10 years ago
David Kalnischkies fbb2c7e04d * apt-pkg/cachefile.cc: 10 years ago
Michael Vogt bce778a312 rework previous patch to avoid changing the inline code 10 years ago
David Kalnischkies 65c72a4b84 * apt-pkg/contrib/fileutl.h: 11 years ago