summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
AgeCommit message (Expand)Author
2017-07-26use FileFd to parse all apt configuration filesDavid Kalnischkies
2017-07-12Reformat and sort all includes with clang-formatJulian Andres Klode
2017-06-26fix some unlikely memory leaks in error casesDavid Kalnischkies
2017-06-26Avoid chdir in acquire clean with unlinkatDavid Kalnischkies
2017-02-11Don't use -1 fd and AT_SYMLINK_NOFOLLOW for faccessat()Julian Andres Klode
2016-11-11add TMP/TEMP/TEMPDIR to the TMPDIR DropPrivileges danceDavid Kalnischkies
2016-11-09reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivilegesDavid Kalnischkies
2016-10-04Do not read stderr from proxy autodetection scriptsJulian Andres Klode
2016-08-12fileutl: empty file support: Avoid fstat() on -1 fd and check resultJulian Andres Klode
2016-08-10implement socks5h proxy support for http methodDavid Kalnischkies
2016-07-29if the FileFd failed already following calls should fail, tooDavid Kalnischkies
2016-07-27(error) va_list 'args' was opened but not closed by va_end()David Kalnischkies
2016-07-23call flush on the wrapped writebuffered FileFdDavid Kalnischkies
2016-07-19ensure Cnf::FindFile doesn't return files below /dev/nullDavid Kalnischkies
2016-07-06don't change owner/perms/times through file:// symlinksDavid Kalnischkies
2016-07-05give a descriptive error for pipe tries with 'false'David Kalnischkies
2016-06-29don't do atomic overrides with failed filesDavid Kalnischkies
2016-06-10don't leak an FD in lz4 (de)compressionDavid Kalnischkies
2016-06-10do not hang on piped input in PipedFileFdPrivateDavid Kalnischkies
2016-04-28FileFd: avoid further writing if file failedDavid Kalnischkies
2016-04-03consistently add APT_OVERRIDE as method markerDavid Kalnischkies
2016-03-06Fix lzma write support to handle "try again" caseColin Watson
2016-02-10Set seekpos to 0 after reopening files in Seek()Julian Andres Klode
2016-02-04Use some semantically more correct buffer operationsJulian Andres Klode
2016-02-04Correctly report write errors when flushing buffered writerJulian Andres Klode
2016-02-01Do not buffer writes larger than the buffer if possibleJulian Andres Klode
2016-02-01BufferedWriteFileFdPrivate: Simplify InternalWrite()Julian Andres Klode
2016-02-01simple_buffer::write: Use free() instead of maxsize - size()Julian Andres Klode
2016-01-30fix "Mismatched free() / delete / delete []" in simple_bufferStefan Bühler
2016-01-07CopyFile: Use 64 * 1024 instead of 64000 as buffer sizeJulian Andres Klode
2016-01-07FileFd: (native) LZ4 supportJulian Andres Klode
2016-01-03simple_compressor: Provide some accessors for end and freeJulian Andres Klode
2016-01-03simple_buffer: Allow buffer size to changeJulian Andres Klode
2015-12-28BufferedFileFdPrivate: Make InternalFlush() save against errorsJulian Andres Klode
2015-12-28BufferedWriter: flushing: Check for written < size instead of <=Julian Andres Klode
2015-12-27FileFd: Add a buffered writing modeJulian Andres Klode
2015-12-27FildFd: Introduce a Flush() function and call it from Close()Julian Andres Klode
2015-12-27FileFdPrivate: Add getter and setter for fieldsJulian Andres Klode
2015-12-27fileutl: simple_buffer: Add write() and full() methodsJulian Andres Klode
2015-12-27fileutl: simple_buffer: Mark accessors as constJulian Andres Klode
2015-12-27FileFdPrivate: Extract SimpleBuffer and mark it as hiddenJulian Andres Klode
2015-12-26Refactor InternalReadLine to not unroll Size == 0 caseJulian Andres Klode
2015-12-26Change InternalReadLine to always use buffer.read() return valueJulian Andres Klode
2015-12-26Get rid of memmove() in our read bufferingJulian Andres Klode
2015-12-26Use a hardcoded buffer size of 4096 to fix performanceJulian Andres Klode
2015-12-24Mark all FileFdPrivate classes as hidden1.1.6Julian Andres Klode
2015-12-23fix new[] vs delete mismatch introduced by b3db9d81David Kalnischkies
2015-12-23use a dynamic buffer for ReadLineDavid Kalnischkies
2015-12-23implement a buffer system for FileFd::ReadLineDavid Kalnischkies
2015-12-22parse xz-compression level from configurationDavid Kalnischkies