summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Profile.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-08-28 12:23:47 -0230
committerDwayne Boone <dwayne@zeroc.com>2008-08-28 12:23:47 -0230
commit554fa0c12a97aed3440c0fd38e54637f9cedc497 (patch)
treeaaf17a778ab040fd1e1a1816911e094ea5d92c90 /php/src/IcePHP/Profile.cpp
parentSquashed commit of the following: (diff)
downloadice-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 'php/src/IcePHP/Profile.cpp')
-rw-r--r--php/src/IcePHP/Profile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/php/src/IcePHP/Profile.cpp b/php/src/IcePHP/Profile.cpp
index d0a4d039075..2e142a1d9e9 100644
--- a/php/src/IcePHP/Profile.cpp
+++ b/php/src/IcePHP/Profile.cpp
@@ -11,6 +11,7 @@
#include <Util.h>
#include <Slice/Preprocessor.h>
+#include <Slice/SignalHandler.h>
#include <IceUtil/Options.h>
#include <IceUtil/InputUtil.h>
#include <fstream>
@@ -402,6 +403,8 @@ parseSlice(const string& argStr, Slice::UnitPtr& unit, bool& suppressWarnings TS
for(vector<string>::iterator p = files.begin(); p != files.end(); ++p)
{
+ SignalHandler signalHandler;
+
Slice::Preprocessor icecpp("icecpp", *p, cppArgs);
FILE* cppHandle = icecpp.preprocess(false);