summaryrefslogtreecommitdiff
path: root/methods/bzip2.cc
AgeCommit message (Collapse)AuthorFilesLines
2012-04-05* methods/bzip2.cc:David Kalnischkies1-175/+0
- remove it as the functionality for all compressors can be provided by gzip.cc now with the usage of FileFD
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies1-0/+1
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies1-3/+3
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies1-0/+2
2011-01-26 - change the internal handling of Extensions in pkgAcqIndexDavid Kalnischkies1-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
2010-10-21* apt-pkg/contrib/fileutl.cc:David Kalnischkies1-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)
2010-09-06* methods/{gzip,bzip2}.cc:David Kalnischkies1-6/+3
- empty files can never be valid archives (Closes: #595691)
2010-08-16* methods/bzip2.cc:David Kalnischkies1-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
2010-08-10apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.Julian Andres Klode1-1/+1
2010-07-11* methods/bzip2.cc:David Kalnischkies1-0/+177
- add a copycat of the old gzip.cc as we need it for bzip2 and lzma