summaryrefslogtreecommitdiff
path: root/indra/test
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2017-08-30 19:57:02 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2017-08-30 19:57:02 +0300
commitf8254a9d787ab6235c8fb076bd65dc7cd978dce9 (patch)
tree3e4f1b7b3cdbc6b836f5360d015e7e143c8264a1 /indra/test
parent9d9c04b0448e33b104f6e5b5cb1aea3df63bca9d (diff)
MAINT-7758 Fixed freeze on loading lsl scripts from unicode named windows folder.
Diffstat (limited to 'indra/test')
-rw-r--r--indra/test/test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp
index 630af2b73b..1c0317df1d 100644
--- a/indra/test/test.cpp
+++ b/indra/test/test.cpp
@@ -136,7 +136,7 @@ public:
private:
NamedTempFile mTempFile;
- std::ofstream mFile;
+ llofstream mFile;
};
class LLReplayLogReal: public LLReplayLog, public boost::noncopyable
@@ -569,7 +569,7 @@ int main(int argc, char **argv)
apr_status_t apr_err;
const char* opt_arg = NULL;
int opt_id = 0;
- boost::scoped_ptr<std::ofstream> output;
+ boost::scoped_ptr<llofstream> output;
const char *touch = NULL;
while(true)
@@ -599,7 +599,7 @@ int main(int argc, char **argv)
verbose_mode = true;
break;
case 'o':
- output.reset(new std::ofstream);
+ output.reset(new llofstream);
output->open(opt_arg);
break;
case 's': // --sourcedir
@@ -673,7 +673,7 @@ int main(int argc, char **argv)
if (touch && success)
{
- std::ofstream s;
+ llofstream s;
s.open(touch);
s << "ok" << std::endl;
s.close();