Commit History

Author SHA1 Message Date
  Julian Andres Klode f9d8a91570 mmap: Define _DEFAULT_SOURCE instead of _BSD_SOURCE 10 years ago
  David Kalnischkies 6789e01e93 do not segfault in cache generation on mmap failure 10 years ago
  David Kalnischkies 95278287f4 avoid using global PendingError to avoid failing too often too soon 11 years ago
  David Kalnischkies 453b82a388 cleanup headers and especially #includes everywhere 12 years ago
  David Kalnischkies e788a834ce warning: useless cast to type A [-Wuseless-cast] 12 years ago
  David Kalnischkies 62d8a765b9 rework some code to fix some scan-build warnings 12 years ago
  David Kalnischkies e3348f474f move the sysconf call behind the _POSIX_SYNCHRONIZED_IO guard there 14 years ago
  Pino Toscano 3ac981df10 apt-pkg/contrib/mmap.cc: 14 years ago
  David Kalnischkies fbda0ee9d9 for filesystems not supporting mmap'ing a file we need to use a 14 years ago
  David Kalnischkies 7b15b702b1 trigger the usage of the fallback code for kfreebsd also in the 14 years ago
  David Kalnischkies 4bd60a02b4 * apt-pkg/contrib/mmap.cc: 14 years ago
  Julian Andres Klode e3026ce49a Fix previous commit: Do not call memset() if realloc() returned NULL. 14 years ago
  Julian Andres Klode 61a406f0fc Zero out the new memory allocated with realloc(). 14 years ago
  Julian Andres Klode 7899a1339c * apt-pkg/contrib/mmap.cc: 14 years ago
  David Kalnischkies 6bae2c5108 * apt-pkg/contrib/mmap.cc: 14 years ago
  David Kalnischkies b711c01e77 improve error reporting in case of errors in combination with zlib 14 years ago
  David Kalnischkies 699b209e51 Allow the FileFd to use an external Compressor to uncompress a given file 14 years ago
  David Kalnischkies 032bd56ff8 - add a ReadLine method 14 years ago
  David Kalnischkies 472ff00ef2 use forward declaration in headers if possible instead of includes 15 years ago
  David Kalnischkies 650faab016 Support large files in the complete toolset. Indexes of this 15 years ago
  David Kalnischkies ea54214002 reorder includes: add <config.h> if needed and include it at first 15 years ago
  David Kalnischkies f895e2ce11 MAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needs 15 years ago
  David Kalnischkies 2a79d5b560 * apt-pkg/contrib/fileutl.cc: 15 years ago
  David Kalnischkies 26b37f9593 * apt-pkg/contrib/mmap.cc: 15 years ago
  David Kalnischkies dcdf1ef18b * doc/apt.conf.5.xml: 16 years ago
  David Kalnischkies a9fe592842 * apt-pkg/pkgcachegen.{cc,h}: 16 years ago
  David Kalnischkies 5afa55c670 make the MMap Grow Error a fatal one as while in theory the code should 16 years ago
  David Kalnischkies e3ac3b464d * contrib/mmap.cc: 16 years ago
  David Kalnischkies 06afffcc24 * apt-pkg/contrib/mmap.{h,cc}: 16 years ago
  David Kalnischkies d6c4a9764d extent the mmap to be able to handle currently not implemented 16 years ago