aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
AgeCommit message (Expand)Author
2022-01-18Merge pull request #5906 from pennae/primops-optimizationEelco Dolstra
2022-01-18Merge pull request #5932 from edolstra/remove-shared-stringsEelco Dolstra
2022-01-18Get rid of std::shared_ptr<std::string> and ref<std::string>Eelco Dolstra
2022-01-17Merge pull request #5812 from pennae/small-perf-improvementsEelco Dolstra
2022-01-13avoid copies of parser input datapennae
2022-01-13use more string_view in utilspennae
2022-01-07isInDir() / isDirOrInDir(): Use std::string_viewEelco Dolstra
2021-12-22Remove CPU lockingEelco Dolstra
2021-12-16Ignore EPERM when unsharing FS stateEelco Dolstra
2021-11-29createTempFile(): Mark file as CLOEEXECEelco Dolstra
2021-11-24Fix a minor data race with _isInterruptedAlex Shabalin
2021-11-17Fix XDG_CONFIG_DIRS fallbackJan Tojnar
2021-11-16Ignore errors unsharing/restoring the mount namespaceEelco Dolstra
2021-11-08Merge branch 'fix-writable-shell' of https://github.com/yorickvP/nixEelco Dolstra
2021-10-29Merge branch 'master' of https://github.com/alekswn/nixEelco Dolstra
2021-10-17Fix error detection in 'base64Decode()'Alexey Novikov
2021-10-15Restore parent mount namespace in restoreProcessContextYorick van Pelt
2021-10-13strcpy -> memcpyEelco Dolstra
2021-10-13Non-blocking garbage collectorEelco Dolstra
2021-10-06Don't reset the logger in a vforkEelco Dolstra
2021-10-05Show failing PIDEelco Dolstra
2021-10-05TypoEelco Dolstra
2021-10-05Connect/bind Unix domain sockets in a child processEelco Dolstra
2021-09-27Fix 'error: reading a line: Input/output error' in startBuilder()Eelco Dolstra
2021-09-14Fix macOS buildEelco Dolstra
2021-09-13RunOptions: Use designated initializersEelco Dolstra
2021-09-08Add missing include in util.ccNaïm Favier
2021-07-30libutil: initialize the base64 decode array only onceAndreas Rammhold
2021-07-24libutil: use uniform initialization in _deletePathAlyssa Ross
2021-07-20deletePath(): Return ENFILE instead of EBADF when out of file descriptorsEelco Dolstra
2021-07-02Add $NO_COLOR check to ANSI escape conditionsYestin L. Harrison
2021-07-01Respect TERM=dumb more consistentlyYestin L. Harrison
2021-05-18Fix extra slash in canonPath outputMatthew Bauer
2021-04-15Merge pull request #4679 from ony/feature/one-pass-canon-pathEelco Dolstra
2021-04-07Restore stack size in child processesEelco Dolstra
2021-04-07restoreSignals() + restoreAffinity() -> restoreProcessContext()Eelco Dolstra
2021-04-07PathSubstitutionGoal: Clean up pipeEelco Dolstra
2021-03-31canonPath in one passMykola Orliuk
2021-03-26Fix some typosEelco Dolstra
2021-02-07libutil: EPERM from kill(-1, ...) is fineAlyssa Ross
2021-01-21Remove trailing whitespaceEelco Dolstra
2020-12-02read(): Use char * instead of unsigned char *Eelco Dolstra
2020-12-02Sink: Use std::string_viewEelco Dolstra
2020-12-02writeFull/writeFile: Use std::string_viewEelco Dolstra
2020-12-01replaceStrings(): Use std::string_viewEelco Dolstra
2020-11-16filterANSIEscapes(): Handle UTF-8 charactersEelco Dolstra
2020-10-11Split out `commonChildInit`John Ericson
2020-10-09Remove LazyEelco Dolstra
2020-10-09writeFile(): Add error context to writeFull() failureEelco Dolstra
2020-10-06Factor out common showBytes()Eelco Dolstra