summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2002-03-14 15:46:40 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2002-03-14 15:46:40 +0000
commit74073671413c9cacdcebbda9e89f08393aecad4b (patch)
treeed5e727a52dc3383921a2a916829e74246c44b8d
parent17f5c876337ecc724f41514f9524a50171f9bfbe (diff)
downloadATCD-74073671413c9cacdcebbda9e89f08393aecad4b.tar.gz
ChangeLogTag:Thu Mar 14 09:17:55 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLogs/ChangeLog-02a4
-rw-r--r--ChangeLogs/ChangeLog-03a4
-rw-r--r--THANKS1
-rw-r--r--ace/Strategies_T.cpp1
5 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b270636b33..a894338b0b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
Thu Mar 14 09:17:55 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
+ * ace/Strategies_T.cpp (activate_svc_handler): Added a call to
+ destroy() the svc_handler if ACE::fork() fails. Thanks to
+ Rainer Lucas <rainer.lucas@fun.de> for reporting this.
+
* ace/Configuration.cpp (remove_section): Made the code consistent
for all versions of Windows. Thanks to Jon Lambert
<jlsysinc@ix.netcom.com> for the fix.
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 7b270636b33..a894338b0b3 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,5 +1,9 @@
Thu Mar 14 09:17:55 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
+ * ace/Strategies_T.cpp (activate_svc_handler): Added a call to
+ destroy() the svc_handler if ACE::fork() fails. Thanks to
+ Rainer Lucas <rainer.lucas@fun.de> for reporting this.
+
* ace/Configuration.cpp (remove_section): Made the code consistent
for all versions of Windows. Thanks to Jon Lambert
<jlsysinc@ix.netcom.com> for the fix.
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 7b270636b33..a894338b0b3 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,5 +1,9 @@
Thu Mar 14 09:17:55 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
+ * ace/Strategies_T.cpp (activate_svc_handler): Added a call to
+ destroy() the svc_handler if ACE::fork() fails. Thanks to
+ Rainer Lucas <rainer.lucas@fun.de> for reporting this.
+
* ace/Configuration.cpp (remove_section): Made the code consistent
for all versions of Windows. Thanks to Jon Lambert
<jlsysinc@ix.netcom.com> for the fix.
diff --git a/THANKS b/THANKS
index 0d24af05bbd..766180d2e7f 100644
--- a/THANKS
+++ b/THANKS
@@ -1480,6 +1480,7 @@ Sorin Iordachescu <sorin.iordachescu@am-beo.com>
Denis Otchenashko <oko@bank.gov.ua>
Marc M Adkins <Marc.M.Adkins@doorways.org>
Jon Lambert <jlsysinc@ix.netcom.com>
+Rainer Lucas <rainer.lucas@fun.de>
I would particularly like to thank Paul Stephenson, who worked with me
at Ericsson in the early 1990's. Paul devised the recursive Makefile
diff --git a/ace/Strategies_T.cpp b/ace/Strategies_T.cpp
index 70924c3bc31..949e7a9e524 100644
--- a/ace/Strategies_T.cpp
+++ b/ace/Strategies_T.cpp
@@ -379,6 +379,7 @@ ACE_Process_Strategy<SVC_HANDLER>::activate_svc_handler (SVC_HANDLER *svc_handle
switch (ACE::fork (ACE_LIB_TEXT ("child"), this->flags_))
{
case -1:
+ svc_handler->destroy ();
ACE_ERROR_RETURN ((LM_ERROR,
ACE_LIB_TEXT ("%p\n"),
ACE_LIB_TEXT ("fork")),