libt2n: (tomj) added exception handling to every child after fork(). This is needed...
[libt2n] / test / reentrant.cpp
index c60baae..7442c31 100644 (file)
@@ -188,6 +188,9 @@ class test_reentrant : public TestFixture
                 } catch (exception &e)
                 {
                     cerr << "caught exception: " << e.what() << endl;
+                } catch(...)
+                {
+                    std::cerr << "exception in child. ignoring\n";
                 }
 
                 // don't call atexit and stuff