aboutsummaryrefslogtreecommitdiff
path: root/src/common/spawn.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-02-25discontinue use of allocamoneromooo-monero1-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++.
2019-01-28common: set MONERO_DEFAULT_LOG_CATEGORY for notify and spawnmoneromooo-monero1-0/+3
2018-12-08ignore child process when execJethro Grassie1-0/+4
2018-10-17spawn: close all file descriptors before execvemoneromooo-monero1-0/+3
No need to give whatever we're calling access to what we use
2018-10-02common: Windows 'spawn' support for tx and block notificationsxiphon1-0/+141