summaryrefslogtreecommitdiff
path: root/src/common/spawn.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Copyright: Update to 2022mj-xmr2022-03-041-1/+2
|
* discontinue use of allocamoneromooo-monero2019-02-251-2/+2
| | | | | | | | | | | | | | | | | | NetBSD emits: warning: Warning: reference to the libc supplied alloca(3); this most likely will not work. Please use the compiler provided version of alloca(3), by supplying the appropriate compiler flags (e.g. not -std=c89). and man 3 alloca says: Normally, gcc(1) translates calls to alloca() with inlined code. This is not done when either the -ansi, -std=c89, -std=c99, or the -std=c11 option is given and the header <alloca.h> is not included. Otherwise, (without an -ansi or -std=c* option) the glibc version of <stdlib.h> includes <alloca.h> and that contains the lines: #ifdef __GNUC__ #define alloca(size) __builtin_alloca (size) #endif It looks like alloca is a bad idea in modern C/C++, so we use VLAs for C and std::vector for C++.
* common: set MONERO_DEFAULT_LOG_CATEGORY for notify and spawnmoneromooo-monero2019-01-281-0/+3
|
* ignore child process when execJethro Grassie2018-12-081-0/+4
|
* spawn: close all file descriptors before execvemoneromooo-monero2018-10-171-0/+3
| | | | No need to give whatever we're calling access to what we use
* common: Windows 'spawn' support for tx and block notificationsxiphon2018-10-021-0/+141