summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
Commit message (Expand)AuthorAgeFilesLines
* Correctly append or remove FD_CLOEXECJulian Andres Klode2025-10-201-2/+6
* ExecFork: Simplify closing and make it safeJulian Andres Klode2025-10-201-31/+19
* Add some comments and tests around Keep-Fd orderingJulian Andres Klode2025-10-201-0/+1
* ExecFork: Use close_range() if availableJulian Andres Klode2025-10-201-2/+32
* Fix error handling with getlineWalter Lozano2025-05-191-1/+1
* fileutl: Convert FileFd::d to std::unique_ptrJulian Andres Klode2025-02-151-17/+13
* StartsWithGPGClearTextSignature(): don't keep un-written-to pointer to consta...наб2025-02-141-1/+1
* flAbsPath(): try to re-use storage of argumentнаб2025-02-141-2/+2
* Take const& in flNotFile()наб2025-02-141-1/+1
* Take const& in GetLock()наб2025-02-141-1/+1
* Take const& in Rename()наб2025-02-141-1/+1
* Take const& in {,Real}FileExists()наб2025-02-141-2/+2
* string{=> _view} flNotDir(string{=> _view}). Configuration::{Cnd,}Set(Value: ...наб2025-02-141-4/+4
* string{=> _view} flExtension(string{=> _view})наб2025-02-141-7/+7
* Drop usage of APT_MUSTCHECKDavid Kalnischkies2025-01-051-2/+2
* Drop usage of macro APT_OVERRIDE for simple overrideDavid Kalnischkies2025-01-051-232/+235
* fileutl: Use execvp() in Popen() instead of execv()Julian Andres Klode2024-11-281-1/+1
* Merge branch 'reefer' into 'main'Julian Andres Klode2024-11-141-7/+1
|\
| * DEFER() moreнаб2024-11-141-7/+1
* | (+=)+= -> append().append()наб2024-11-141-3/+5
|/
* flCombine: try to reuse one of the strings when returningнаб2024-11-121-54/+54
* Turn std::unique_ptr<char[]/std::array<char>>(APT_BUFFER_SIZE) buffers into s...наб2024-11-111-4/+3
* Turn char[APT_BUFFER_SIZE] buffers into std::array<char, APT_BUFFER_SIZE>наб2024-11-111-18/+17
* Bump read()/write() loop buffers from 4k to APT_BUFFER_SIZE (64k). Bump FileF...наб2024-11-071-4/+3
* LzmaFileFdPrivate: bump I/O buffer from 4k to 64kнаб2024-11-021-1/+1
* Handle EINTR in the static FileFd::Write overloadDavid Kalnischkies2024-03-051-39/+32
* Modernize standard library includesJulian Andres Klode2024-02-201-8/+7
* Do not silently ignore directories for reserved file namesJulian Andres Klode2023-12-131-3/+5
* Address statements of public domainJulian Andres Klode2023-03-061-0/+8
* Fix integer underflow in flExtensionRonan Desplanques2022-05-231-1/+1
* RunScripts: Do not reset SIGQUIT and SIGINT to SIG_DFLJulian Andres Klode2021-03-011-4/+0
* Use 500 MB memory limit for xz/lzma decodingDavid Kalnischkies2021-02-021-15/+6
* Allow prefix to be a complete filename for GetTempFileDavid Kalnischkies2020-05-181-12/+24
* Prefer use of O_TMPFILE in GetTempFile if availableDavid Kalnischkies2020-05-181-5/+12
* GetLock: No strerror if it's just another process holding the lockJulian Andres Klode2020-03-061-2/+4
* Raise buffer size for Hashes::AddFD() from 4 KiB to 64 KiBJulian Andres Klode2020-01-141-3/+0
* Fix some style warnings from cppcheckDavid Kalnischkies2019-11-261-1/+1
* Improve locking messaging - pid and name, "do not remove lock file"Julian Andres Klode2019-06-211-2/+53
* Prevent shutdown while running dpkgJulian Andres Klode2019-05-031-0/+48
* Add 'explicit' to most single argument constructorsJulian Andres Klode2019-04-301-1/+1
* fileutl: Merge Popen variantsJulian Andres Klode2019-02-261-10/+0
* fileutl: Remove deprecated functions such as gzFd()Julian Andres Klode2019-02-261-13/+0
* sptr: Remove deprecated smart pointer classesJulian Andres Klode2019-02-261-1/+0
* gpgv: Use buffered writes for splitting clearsigned filesJulian Andres Klode2019-02-041-1/+5
* Drop buffered writing from clearsigned message extractionDavid Kalnischkies2019-02-011-1/+1
* Merge and reuse tmp file handling across the boardDavid Kalnischkies2019-01-241-2/+4
* Set DPKG_FRONTEND_LOCKED when running {pre,post}-invoke scriptsJulian Andres Klode2018-10-051-0/+3
* zstd: Implement support for multi-frame filesJulian Andres Klode2018-04-131-4/+12
* Implement compression level handling for zstdJulian Andres Klode2018-04-131-1/+18
* apt-pkg: Add support for zstdJulian Andres Klode2018-03-121-0/+195