Backport rred patches from my own sid branch to the 0.7.25 branch
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 10 Dec 2009 23:23:18 +0000 (00:23 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 10 Dec 2009 23:23:18 +0000 (00:23 +0100)
commitbb1293d975294884a95b9cb298432c9cf9ecc995
treef65bdf3eccdc4369cf9f1c84c346f113f9c445be
parentacdd8da1f53c69e8d3a8e3c8430470752aa3df3a
Backport rred patches from my own sid branch to the 0.7.25 branch

* 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.
debian/changelog
methods/rred.cc