diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-08-28 12:23:47 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-08-28 12:23:47 -0230 |
commit | 554fa0c12a97aed3440c0fd38e54637f9cedc497 (patch) | |
tree | aaf17a778ab040fd1e1a1816911e094ea5d92c90 /py/modules/IcePy/Slice.cpp | |
parent | Squashed commit of the following: (diff) | |
download | ice-554fa0c12a97aed3440c0fd38e54637f9cedc497.tar.bz2 ice-554fa0c12a97aed3440c0fd38e54637f9cedc497.tar.xz ice-554fa0c12a97aed3440c0fd38e54637f9cedc497.zip |
Use tmpfile() to create preporcessor tmp file
Set up signal handling in RB/Py/PHP
Diffstat (limited to 'py/modules/IcePy/Slice.cpp')
-rw-r--r-- | py/modules/IcePy/Slice.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/modules/IcePy/Slice.cpp b/py/modules/IcePy/Slice.cpp index 51d9067b97f..d0ab9232790 100644 --- a/py/modules/IcePy/Slice.cpp +++ b/py/modules/IcePy/Slice.cpp @@ -14,6 +14,7 @@ #include <Util.h> #include <Slice/Preprocessor.h> #include <Slice/PythonUtil.h> +#include <Slice/SignalHandler.h> #include <IceUtil/Options.h> // @@ -134,6 +135,8 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args) for(vector<string>::const_iterator p = files.begin(); p != files.end(); ++p) { + SignalHandler sigHandler; + string file = *p; Slice::Preprocessor icecpp("icecpp", file, cppArgs); FILE* cppHandle = icecpp.preprocess(false); |