summaryrefslogtreecommitdiff
path: root/src/unix
AgeCommit message (Collapse)Author
2019-02-05unix/SignalHandlers: add RAII classMax Kellermann
2019-02-05unix/SignalHandlers: add `noexcept`Max Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-10-31*: copyright year 2018Max Kellermann
2018-08-01unix/PidFile: add "noexcept"Max Kellermann
2018-08-01unix/{Daemon,PidFile}: throw exception on errorMax Kellermann
Don't use the bad `FatalError` library.
2018-01-17fs/AllocatedPath: make the nullptr_t constructor publicMax Kellermann
2017-12-16Merge branch 'v0.20.x'Max Kellermann
2017-12-12*: check defined(_WIN32) instead of defined(WIN32)Max Kellermann
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
2017-08-11unix/Signalhandlers: throw exception instead of raising fatal errorMax Kellermann
2017-08-10fs/FileSystem: OpenFile() returns UniqueFileDescriptorMax Kellermann
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-01-03update copyright yearMax Kellermann
2016-08-15fs/FileSystem: RemoveFile() throws exception on errorMax Kellermann
2016-06-20event/SignalMonitor: use BoundMethod instead of raw function pointerMax Kellermann
2016-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2016-02-23Merge tag 'v0.19.13'Max Kellermann
release v0.19.13
2016-02-23configure.ac, unix/Daemon: check for initgroups() at configure timeMax Kellermann
The initgroups() manpage says we need to check for _BSD_SOURCE. The thing is that glibc deprecated this macro, and doesn't define it anymore, effectively breaking all MPD supplementary groups. The real fix is to check for initgroups() availability at configure time, instead of relying on the deprecated _BSD_SOURCE macro.
2015-10-16unix/Daemon, playlist/...: remove unused Domain variablesMax Kellermann
2015-09-30unix/PidFile: fix empty PID fileAnthony DeRossi
This was broken by 4f29034f.
2015-09-17unix/Daemon, playlist/pls, ...: remove unused Domain variablesMax Kellermann
2015-09-17unix/Daemon: define WCOREDUMP() for platforms that don't support itFrançois Revol
Haiku does not dump core, it just starts the debugger.
2015-08-24unix/PidFile: add missing include stdlib.h for strtoul()Max Kellermann
2015-08-15unix/PidFile: use raw file descriptor instead of stdioMax Kellermann
2015-08-15unix/Daemon: move code to ReadPidFile()Max Kellermann
2015-08-15unix/Daemon: eliminate local variable "ret"Max Kellermann
2015-03-05fs/Traits: add macro PATH_LITERAL()Max Kellermann
2015-03-05unix/PidFile: use the UTF-8 path for error messageMax Kellermann
2015-03-03*: change C-style prototypes, drop "(void)"Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-01-24move daemonization code to unix/Max Kellermann