diff options
author | Michi Henning <michi@zeroc.com> | 2005-04-27 04:51:06 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-04-27 04:51:06 +0000 |
commit | 2495f3124b35e0abca51c6d168e99e48bffab0aa (patch) | |
tree | 15f622c91d4d30efa6598c5ece5229124f320957 /cpp/src/Slice/Preprocessor.cpp | |
parent | updated java impl. (diff) | |
download | ice-2495f3124b35e0abca51c6d168e99e48bffab0aa.tar.bz2 ice-2495f3124b35e0abca51c6d168e99e48bffab0aa.tar.xz ice-2495f3124b35e0abca51c6d168e99e48bffab0aa.zip |
Fixed http://www.zeroc.com/vbulletin/showthread.php?p=5727#post5727
Diffstat (limited to 'cpp/src/Slice/Preprocessor.cpp')
-rw-r--r-- | cpp/src/Slice/Preprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Preprocessor.cpp b/cpp/src/Slice/Preprocessor.cpp index b05881b5d0d..40e0df6c46b 100644 --- a/cpp/src/Slice/Preprocessor.cpp +++ b/cpp/src/Slice/Preprocessor.cpp @@ -71,7 +71,7 @@ Slice::Preprocessor::preprocess(bool keepComments) cmd += " -C"; } - cmd += " " + _args + " " + _fileName; + cmd += " " + _args + " \"" + _fileName + "\""; // // Open a pipe for reading to redirect icecpp output to _cppHandle. @@ -99,7 +99,7 @@ Slice::Preprocessor::printMakefileDependencies(Language lang) return; } - cmd += " -M " + _args + " " + _fileName; + cmd += " -M " + _args + " \"" + _fileName + "\""; #ifdef _WIN32 FILE* cppHandle = _popen(cmd.c_str(), "r"); |