diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-01-17 13:11:19 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-01-17 13:11:19 -0330 |
commit | a2e4ce4b60e9fac86c2cf81e3f22845a699efaa6 (patch) | |
tree | bbb1b67428ee22ec495456dc1a6bdd46f8e45236 /cpp/src/slice2sl/Gen.cpp | |
parent | Bug 2261 - renaming Ice for C# to Ice for .NET (diff) | |
download | ice-a2e4ce4b60e9fac86c2cf81e3f22845a699efaa6.tar.bz2 ice-a2e4ce4b60e9fac86c2cf81e3f22845a699efaa6.tar.xz ice-a2e4ce4b60e9fac86c2cf81e3f22845a699efaa6.zip |
Bug 2540 - trap ctrl-C and unlink output files
Diffstat (limited to 'cpp/src/slice2sl/Gen.cpp')
-rwxr-xr-x | cpp/src/slice2sl/Gen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/slice2sl/Gen.cpp b/cpp/src/slice2sl/Gen.cpp index 24b72e6230c..604c6e0e5d3 100755 --- a/cpp/src/slice2sl/Gen.cpp +++ b/cpp/src/slice2sl/Gen.cpp @@ -20,6 +20,7 @@ #include <IceUtil/Iterator.h> #include <IceUtil/UUID.h> #include <Slice/DotNetNames.h> +#include <Slice/SignalHandler.h> using namespace std; using namespace Slice; @@ -501,6 +502,8 @@ Slice::Gen::Gen(const string& name, const string& base, const vector<string>& in file = dir + '/' + file; fileImpl = dir + '/' + fileImpl; } + SignalHandler::addFile(file); + SignalHandler::addFile(fileImpl); _out.open(file.c_str()); if(!_out) |