summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcoros.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-01-17 18:55:42 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-01-17 18:55:42 -0500
commitc0731c1c05cafe508c91c5f583301234ba3b8403 (patch)
tree90710d025b74ff4873f681bfb4a06dea8c28d67b /indra/llcommon/llcoros.h
parenta01dd3549cca620de47fae824198473c51a12f49 (diff)
Add log message if LLProcessLauncher child fails to execv().
On a Posix platform (vfork()/execv() implementation), if for any reason the execv() failed (e.g. executable not on PATH), the viewer would never know, nor the user: the vfork() child produced no output, and terminated with rc 0! Add logging, make child terminate with nonzero rc. Remove pointless addArgument(const char*) overload: this does nothing for you that the compiler won't do implicitly. In llupdateinstaller.cpp, remove pointless c_str() call in addArgument() arg: we were starting with a std::string, then extracting its c_str(), only to construct a whole new std::string from it!
Diffstat (limited to 'indra/llcommon/llcoros.h')
0 files changed, 0 insertions, 0 deletions