summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-02-18 12:00:13 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-02-18 12:00:13 -0500
commite98438bda70f92c1caa0621b7e467b72c7e484ad (patch)
tree787d80c287faab8c0629b58fb1f8e8f24db2bedf /indra/llcommon
parentf52cf4be7003f18813da31b25d204f10eb36db17 (diff)
Fix subtle bug in ReadPipeImpl: wouldn't tolerate multiple instances.
That is, trying to instantiate a ReadPipeImpl while another already existed would throw an LLEventPump::DupPumpName exception. Fortunately this behavior is easily bypassed.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llprocess.cpp b/indra/llcommon/llprocess.cpp
index add1649ba5..d6a5a18565 100644
--- a/indra/llcommon/llprocess.cpp
+++ b/indra/llcommon/llprocess.cpp
@@ -209,7 +209,7 @@ public:
mPipe(pipe),
// Essential to initialize our std::istream with our special streambuf!
mStream(&mStreambuf),
- mPump("ReadPipe"),
+ mPump("ReadPipe", true), // tweak name as needed to avoid collisions
// use funky syntax to call max() to avoid blighted max() macros
mLimit(npos)
{