summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 04:09:45 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 04:09:45 +0000
commit769da12d22ef7f4a1b9da903e6c0abb7f1329b8e (patch)
treeda3cac3d355375f30140d369b06363760c65678d
parent84aa8aa34396ba30ea70bd5c5507eb09e1a5b371 (diff)
downloadATCD-769da12d22ef7f4a1b9da903e6c0abb7f1329b8e.tar.gz
.
-rw-r--r--ace/Service_Config.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/ace/Service_Config.cpp b/ace/Service_Config.cpp
index 49c188a98a6..717b551b152 100644
--- a/ace/Service_Config.cpp
+++ b/ace/Service_Config.cpp
@@ -522,6 +522,19 @@ ACE_Service_Config::open (const ASYS_TCHAR program_name[],
int retval = 0;
ACE_TRACE ("ACE_Service_Config::open");
+ if (ACE_Service_Config::svc_conf_file_queue_ == 0)
+ {
+ ACE_NEW (ACE_Service_Config::svc_conf_file_queue_,
+ ACE_SVC_QUEUE);
+
+ // Load the default "svc.conf" entry here.
+ if (ACE_Service_Config::svc_queue_->enqueue_tail
+ (ACE_CString (ACE_DEFAULT_SVC_CONF)) == -1)
+ ACE_ERROR ((LM_ERROR,
+ ASYS_TEXT ("%p\n"),
+ "enqueue_tail"));
+ }
+
// Clear the LM_DEBUG bit from log messages if appropriate
if (ACE::debug ())
ACE_Log_Msg::disable_debug_messages ();