summaryrefslogtreecommitdiff
path: root/methods/bzip2.cc
Commit message (Collapse)AuthorAgeFilesLines
* * methods/bzip2.cc:David Kalnischkies2012-04-051-175/+0
| | | | - remove it as the functionality for all compressors can be provided by gzip.cc now with the usage of FileFD
* use forward declaration in headers if possible instead of includesDavid Kalnischkies2011-09-191-0/+1
|
* do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-191-3/+3
|
* reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-0/+2
|
* - change the internal handling of Extensions in pkgAcqIndexDavid Kalnischkies2011-01-261-2/+1
| | | | | - add a special uncompressed compression type to prefer those files * methods/{gzip,bzip}.cc: - print a good error message if FileSize() is zero
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2010-10-211-1/+1
| | | | | | | - Add a FileFd::FileSize() method to get the size of the underlying file and not the size of the content in the file as FileFd::Size() does - the sizes can differ since the direct gzip integration * methods/{gzip,bzip2}.cc: - use FileSize() to determine if the file is invalid (Closes: #600852)
* * methods/{gzip,bzip2}.cc:David Kalnischkies2010-09-061-6/+3
| | | - empty files can never be valid archives (Closes: #595691)
* * methods/bzip2.cc:David Kalnischkies2010-08-161-2/+1
| | | | | | | | - fix error checking for read in case of failing bzip2/lzma/whatever Spotted by -Wextra: bzip2.cc: In member function ‘virtual bool Bzip2Method::Fetch(pkgAcqMethod::FetchItem*)’: bzip2.cc:108:19: warning: comparison of unsigned expression < 0 is always false bzip2.cc:111:19: warning: comparison of unsigned expression < 0 is always false
* apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.Julian Andres Klode2010-08-101-1/+1
|
* * methods/bzip2.cc:David Kalnischkies2010-07-111-0/+177
- add a copycat of the old gzip.cc as we need it for bzip2 and lzma