diff options
author | Jose <jose@zeroc.com> | 2016-09-17 00:28:00 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-09-17 00:28:00 +0200 |
commit | 47c3b5d2b03d3286cba2a3b4890e57fdd6135132 (patch) | |
tree | 40e05ffec6df92a5b88fdb675d775580f41547c1 /cpp/src/IceUtil/OutputUtil.cpp | |
parent | 3.6.3 version fixes (diff) | |
download | ice-47c3b5d2b03d3286cba2a3b4890e57fdd6135132.tar.bz2 ice-47c3b5d2b03d3286cba2a3b4890e57fdd6135132.tar.xz ice-47c3b5d2b03d3286cba2a3b4890e57fdd6135132.zip |
Fix ICE-4787 - slice compilers and unicode paths
Diffstat (limited to 'cpp/src/IceUtil/OutputUtil.cpp')
-rw-r--r-- | cpp/src/IceUtil/OutputUtil.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/IceUtil/OutputUtil.cpp b/cpp/src/IceUtil/OutputUtil.cpp index 755e80d2c4b..c7c52a925c2 100644 --- a/cpp/src/IceUtil/OutputUtil.cpp +++ b/cpp/src/IceUtil/OutputUtil.cpp @@ -93,7 +93,7 @@ IceUtilInternal::OutputBase::open(const string& s) // mismatches on case-insensitive OSs. // IceUtilInternal::unlink(s); - _fout.open(s.c_str()); + _fout.open(IceUtilInternal::streamFilename(s).c_str()); } void @@ -170,13 +170,13 @@ IceUtilInternal::OutputBase::currIndent() return _indent; } -void +void IceUtilInternal::OutputBase::setIndent(int indentSize) { - _indentSize = indentSize; + _indentSize = indentSize; } -void +void IceUtilInternal::OutputBase::setUseTab(bool useTab) { _useTab = useTab; @@ -552,7 +552,7 @@ IceUtilInternal::StartElement::StartElement(const string& name) : _name(name) { } - + const string& IceUtilInternal::StartElement::getName() const { |