summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
AgeCommit message (Expand)Author
2020-05-18Allow prefix to be a complete filename for GetTempFileDavid Kalnischkies
2020-05-18Prefer use of O_TMPFILE in GetTempFile if availableDavid Kalnischkies
2020-03-06GetLock: No strerror if it's just another process holding the lockJulian Andres Klode
2020-01-14Raise buffer size for Hashes::AddFD() from 4 KiB to 64 KiBJulian Andres Klode
2019-11-26Fix some style warnings from cppcheckDavid Kalnischkies
2019-06-21Improve locking messaging - pid and name, "do not remove lock file"Julian Andres Klode
2019-05-03Prevent shutdown while running dpkgJulian Andres Klode
2019-04-30Add 'explicit' to most single argument constructorsJulian Andres Klode
2019-02-26fileutl: Merge Popen variantsJulian Andres Klode
2019-02-26fileutl: Remove deprecated functions such as gzFd()Julian Andres Klode
2019-02-26sptr: Remove deprecated smart pointer classesJulian Andres Klode
2019-02-04gpgv: Use buffered writes for splitting clearsigned filesJulian Andres Klode
2019-02-01Drop buffered writing from clearsigned message extractionDavid Kalnischkies
2019-01-24Merge and reuse tmp file handling across the boardDavid Kalnischkies
2018-10-05Set DPKG_FRONTEND_LOCKED when running {pre,post}-invoke scriptsJulian Andres Klode
2018-04-13zstd: Implement support for multi-frame filesJulian Andres Klode
2018-04-13Implement compression level handling for zstdJulian Andres Klode
2018-03-12apt-pkg: Add support for zstdJulian Andres Klode
2018-01-02Support cleartext signed InRelease files with CRLF line endingsDavid Kalnischkies
2017-12-13convert various c-style casts to C++-styleDavid Kalnischkies
2017-10-22Run the ProxyAutoDetect script in the sandbox againJulian Andres Klode
2017-08-04don't keep configuration files open needlesslyDavid Kalnischkies
2017-07-26show warnings instead of errors if files are unreadableDavid Kalnischkies
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