summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
Commit message (Expand)AuthorAgeFilesLines
* add TMP/TEMP/TEMPDIR to the TMPDIR DropPrivileges danceDavid Kalnischkies2016-11-111-9/+20
* reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivilegesDavid Kalnischkies2016-11-091-0/+20
* Do not read stderr from proxy autodetection scriptsJulian Andres Klode2016-10-041-1/+7
* fileutl: empty file support: Avoid fstat() on -1 fd and check resultJulian Andres Klode2016-08-121-2/+3
* implement socks5h proxy support for http methodDavid Kalnischkies2016-08-101-0/+31
* if the FileFd failed already following calls should fail, tooDavid Kalnischkies2016-07-291-8/+10
* (error) va_list 'args' was opened but not closed by va_end()David Kalnischkies2016-07-271-10/+8
* call flush on the wrapped writebuffered FileFdDavid Kalnischkies2016-07-231-2/+1
* ensure Cnf::FindFile doesn't return files below /dev/nullDavid Kalnischkies2016-07-191-0/+19
* don't change owner/perms/times through file:// symlinksDavid Kalnischkies2016-07-061-1/+4
* give a descriptive error for pipe tries with 'false'David Kalnischkies2016-07-051-0/+3
* don't do atomic overrides with failed filesDavid Kalnischkies2016-06-291-1/+1
* don't leak an FD in lz4 (de)compressionDavid Kalnischkies2016-06-101-1/+6
* do not hang on piped input in PipedFileFdPrivateDavid Kalnischkies2016-06-101-0/+5
* FileFd: avoid further writing if file failedDavid Kalnischkies2016-04-281-9/+13
* consistently add APT_OVERRIDE as method markerDavid Kalnischkies2016-04-031-70/+70
* Fix lzma write support to handle "try again" caseColin Watson2016-03-061-4/+25
* Set seekpos to 0 after reopening files in Seek()Julian Andres Klode2016-02-101-0/+1
* Use some semantically more correct buffer operationsJulian Andres Klode2016-02-041-1/+1
* Correctly report write errors when flushing buffered writerJulian Andres Klode2016-02-041-1/+1
* Do not buffer writes larger than the buffer if possibleJulian Andres Klode2016-02-011-0/+6
* BufferedWriteFileFdPrivate: Simplify InternalWrite()Julian Andres Klode2016-02-011-9/+3
* simple_buffer::write: Use free() instead of maxsize - size()Julian Andres Klode2016-02-011-3/+3
* fix "Mismatched free() / delete / delete []" in simple_bufferStefan Bühler2016-01-301-1/+1
* 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