summaryrefslogtreecommitdiff
path: root/methods/rred.cc
Commit message (Collapse)AuthorAgeFilesLines
* follow the recommendation of cppcheck to make some method methods (scnr)David Kalnischkies2011-08-111-2/+5
| | | | const and initial mostly Debug member values in the constructors
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2011-02-141-1/+1
| | | | | | | - really detect bigendian machines by including config.h, so we can really (Closes: #612986) * apt-pkg/contrib/mmap.cc: - Base has as 'valid' failure states 0 and -1 so add a simple validData method to check for failure states
* update size of dynamic MMap as we write in from the outsideDavid Kalnischkies2011-02-131-3/+8
|
* * methods/rred.cc:David Kalnischkies2011-02-121-2/+4
| | | - read patch into MMap only if we work on uncompressed patches
* * methods/rred.cc:David Kalnischkies2011-01-151-9/+40
| | | | | - operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred
* apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.Julian Andres Klode2010-08-101-2/+2
|
* * methods/rred.cc:David Kalnischkies2010-05-041-8/+11
| | | | - use the patchfile modification time instead of the one from the "old" file - thanks to Philipp Weis for noticing! (Closes: #571541)
* Backport rred patches from my own sid branch to the 0.7.25 branchDavid Kalnischkies2009-12-111-184/+464
| | | | | | | | | | * rewrite and refactor rred method to be able to handle even big (>30 MB) patches (Closes: #554349) and hardening the method itself by using more constants and a return value which can't be misinterpreted as linenumber * Finally adope the patch from Morten Hustveit <morten@debian.org> to be able to optional use mmaps and iovec to increase patch speed - but as this increase memory usage we can always fall back to the "old" method which doesn't depend on mmaps.
* add text at the top without failing in rred (Closes: #545694)David Kalnischkies2009-09-081-1/+1
| | | | Patch from Bernhard R. Link, thanks!
* * debug support (Debug::pkgAcquire::RRed) for rred method addedMichael Vogt2005-08-291-0/+16
|
* * method/rred.cc cleanup (thanks to robertle)Michael Vogt2005-08-231-143/+149
|
* * bugfix/updates in the rred.cc code (big thanks for helping Robert!)Michael Vogt2005-08-221-9/+35
|
* * rred.cc: use the d'tor of FileFd to close the file-fd; acquuire-item.cc: ↵Michael Vogt2005-08-221-9/+2
| | | | make the QueueNextDiff() code more robust
* * use the new cool rred method for the patchtingMichael Vogt2005-08-191-1/+1
|
* * added methods/rred.cc (thanks to robertle)Michael Vogt2005-07-281-0/+221