summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Internal.cpp
diff options
context:
space:
mode:
authoriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-04-15 12:17:12 +0000
committeriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-04-15 12:17:12 +0000
commit91cbfc4b1027ac3eeaa50365b078bf51626ca784 (patch)
tree0fb8b3e0bb2f06fa4fe9de4f00e5afa5c0e5e8b2 /TAO/tao/TAO_Internal.cpp
parentb5f9bc8dc227d0bc438bac6cf94382e0c07b45ed (diff)
downloadATCD-91cbfc4b1027ac3eeaa50365b078bf51626ca784.tar.gz
ChangeLogTag: Tue Apr 15 12:15:35 UTC 2008 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'TAO/tao/TAO_Internal.cpp')
-rw-r--r--TAO/tao/TAO_Internal.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tao/TAO_Internal.cpp b/TAO/tao/TAO_Internal.cpp
index 6dba1ddc3bf..ca2a56cd89f 100644
--- a/TAO/tao/TAO_Internal.cpp
+++ b/TAO/tao/TAO_Internal.cpp
@@ -250,7 +250,8 @@ public:
// (global) Service Configurator instance.
// Be certain to copy the program name so that service configurator
// has something to skip!
- ACE_ARGV global_svc_config_argv ((argc <= 0 || argv == 0) ? ACE_TEXT ("") : argv[0]);
+ ACE_ARGV global_svc_config_argv (true); // only this ctor allows subsequent use of add()!
+ global_svc_config_argv.add ((argc <= 0 || argv == 0) ? ACE_TEXT ("") : argv[0]);
// Will expand the environment variables, if any were used. Is this a good thing?
// I guess it provides greater flexibility for deployment, so let's leave it. Will
@@ -380,7 +381,8 @@ TAO::ORB::open_services (ACE_Intrusive_Auto_Ptr<ACE_Service_Gestalt> pcfg,
// Configurator.
// Be certain to copy the program name so that service configurator
// has something to skip!
- ACE_ARGV svc_config_argv ((argc <= 0 || argv == 0) ? ACE_TEXT ("") : argv[0]);
+ ACE_ARGV svc_config_argv (true); // only this ctor allows subsequent use of add()!
+ svc_config_argv.add ((argc <= 0 || argv == 0) ? ACE_TEXT ("") : argv[0]);
// Should we skip the ACE_Service_Config::open() method?,
// e.g., because of -ORBSkipServiceConfigOpen