summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
Commit message (Expand)AuthorAgeFilesLines
* CopyFile: Use 64 * 1024 instead of 64000 as buffer sizeJulian Andres Klode2016-01-071-7/+9
* FileFd: (native) LZ4 supportJulian Andres Klode2016-01-071-0/+160
* simple_compressor: Provide some accessors for end and freeJulian Andres Klode2016-01-031-0/+3
* simple_buffer: Allow buffer size to changeJulian Andres Klode2016-01-031-2/+18
* BufferedFileFdPrivate: Make InternalFlush() save against errorsJulian Andres Klode2015-12-281-8/+8
* BufferedWriter: flushing: Check for written < size instead of <=Julian Andres Klode2015-12-281-3/+1
* FileFd: Add a buffered writing modeJulian Andres Klode2015-12-271-0/+152
* FildFd: Introduce a Flush() function and call it from Close()Julian Andres Klode2015-12-271-0/+15
* FileFdPrivate: Add getter and setter for fieldsJulian Andres Klode2015-12-271-9/+42
* fileutl: simple_buffer: Add write() and full() methodsJulian Andres Klode2015-12-271-0/+11
* fileutl: simple_buffer: Mark accessors as constJulian Andres Klode2015-12-271-2/+3
* FileFdPrivate: Extract SimpleBuffer and mark it as hiddenJulian Andres Klode2015-12-271-21/+24
* Refactor InternalReadLine to not unroll Size == 0 caseJulian Andres Klode2015-12-261-5/+4
* Change InternalReadLine to always use buffer.read() return valueJulian Andres Klode2015-12-261-12/+8
* Get rid of memmove() in our read bufferingJulian Andres Klode2015-12-261-76/+57
* Use a hardcoded buffer size of 4096 to fix performanceJulian Andres Klode2015-12-261-4/+2
* Mark all FileFdPrivate classes as hidden1.1.6Julian Andres Klode2015-12-241-6/+6
* fix new[] vs delete mismatch introduced by b3db9d81David Kalnischkies2015-12-231-7/+7
* use a dynamic buffer for ReadLineDavid Kalnischkies2015-12-231-15/+22
* implement a buffer system for FileFd::ReadLineDavid Kalnischkies2015-12-231-27/+140
* parse xz-compression level from configurationDavid Kalnischkies2015-12-221-2/+28
* follow dpkg and xz and use CRC64 for xz compressionDavid Kalnischkies2015-12-221-1/+1
* shuffle compressor-specific code into private subclassesDavid Kalnischkies2015-12-221-635/+686
* Do not try to read in FileFd::Read() if Size is 0Julian Andres Klode2015-12-191-3/+2
* Do nothing in FileFd::Write() if Size is 0Julian Andres Klode2015-12-191-7/+5
* CopyFile: avoid failing on EOF on some systemsPino Toscano2015-12-191-1/+1
* CopyFile: fix BufSize to a sane valuePino Toscano2015-12-191-2/+2
* disable privilege-drop verification by default as fakeroot trips over itDavid Kalnischkies2015-11-281-42/+60
* show the group we failed to drop via setgroupsDavid Kalnischkies2015-11-281-6/+11
* add messages to our deprecation warnings in libaptDavid Kalnischkies2015-11-271-1/+1
* do not use _apt for file/copy sources if it isn't world-accessibleDavid Kalnischkies2015-11-191-1/+1
* wrap every unlink call to check for != /dev/nullDavid Kalnischkies2015-11-041-4/+18
* ensure FileFd doesn't try to open /dev/null as atomic and coDavid Kalnischkies2015-11-041-6/+10
* avoid using global PendingError to avoid failing too often too soonDavid Kalnischkies2015-09-141-1/+1
* copy ReadWrite-error to the bottom to make clang happyDavid Kalnischkies2015-09-141-1/+4
* implement CopyFile without using FileFd::Size()David Kalnischkies2015-09-141-13/+7
* improve CheckDropPrivsMustBeDisabled furtherDavid Kalnischkies2015-09-011-4/+6
* ignore for _apt inaccessible TMPDIR in pkgAcqChangelogDavid Kalnischkies2015-08-311-3/+28
* Always close compressed files in FileFdJulian Andres Klode2015-08-271-6/+7
* Use setresuid() and setresgid() where availableJulian Andres Klode2015-08-131-3/+13
* Deprecate SPtrArray<T> and convert everyone to unique_ptr<T[]>Julian Andres Klode2015-08-131-3/+4
* ExecFork: Use /proc/self/fd to determine which files to closeJulian Andres Klode2015-08-111-5/+19
* elimate duplicated code in pkgIndexFile subclassesDavid Kalnischkies2015-08-101-8/+7
* make all d-pointer * const pointersDavid Kalnischkies2015-08-101-0/+19
* Merge branch 'debian/sid' into debian/experimentalMichael Vogt2015-05-221-1/+2
|\
| * Move sysconf(_SC_OPEN_MAX); out of the for() loop to avoid unneeded syscallsMichael Vogt2015-04-281-1/+2
* | ensure lists/ files have correct permissions after apt-cdrom addDavid Kalnischkies2015-04-191-0/+19
* | test if TMPDIR is accessible before usingDavid Kalnischkies2014-10-201-2/+4
* | set PR_SET_NO_NEW_PRIVS even if sandbox is disabledDavid Kalnischkies2014-10-151-6/+6
* | Fix backward compatiblity of the new pkgAcquireMethod::DropPrivsOrDie()Michael Vogt2014-10-131-1/+6