summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-02-16 18:24:58 +0000
committerjtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-02-16 18:24:58 +0000
commit3577031ce7ed1f30351a4ed87ef5d53f4a76eb4c (patch)
treec723ca8b2cf1ce550535c2e88b5c78f875f6db38
parent79b9d1672151141892cc790337b501b692582d5c (diff)
downloadATCD-3577031ce7ed1f30351a4ed87ef5d53f4a76eb4c.tar.gz
ChangeLogTag: Thu Feb 16 18:11:03 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
-rw-r--r--TAO/ChangeLog13
-rw-r--r--TAO/tao/default_client.cpp11
2 files changed, 22 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index d806a709795..44e651f40c6 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,16 @@
+Thu Feb 16 18:11:03 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
+
+ * tao/default_client.cpp:
+
+ Report an error if unknown/unsupported argument is used with
+ -ORBIIOPProfileLock.
+
+ Changed -ORBConnectionHandlerCleanup to support 0 and 1 as
+ arguments. Previously it only supported false, which made it
+ impossible to set the option after the default was changed to
+ false last September. Support false (and now true) arguments
+ for backwards compatibility.
+
Thu Feb 16 16:00:07 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
* orbsvcs/Notify_Service/Notify_Service.cpp:
diff --git a/TAO/tao/default_client.cpp b/TAO/tao/default_client.cpp
index 438bdcd235f..c841a44d409 100644
--- a/TAO/tao/default_client.cpp
+++ b/TAO/tao/default_client.cpp
@@ -106,6 +106,8 @@ TAO_Default_Client_Strategy_Factory::parse_args (int argc, ACE_TCHAR* argv[])
else if (ACE_OS::strcasecmp (name,
ACE_TEXT("null")) == 0)
this->profile_lock_type_ = TAO_NULL_LOCK;
+ else
+ this->report_option_value_error (ACE_TEXT("-ORBIIOPProfileLock"), name);
}
}
@@ -210,9 +212,14 @@ TAO_Default_Client_Strategy_Factory::parse_args (int argc, ACE_TCHAR* argv[])
{
ACE_TCHAR* name = argv[curarg];
- if (ACE_OS::strcasecmp (name,
- ACE_TEXT("false")) == 0)
+ if (ACE_OS::strcmp (name, ACE_TEXT("0")) == 0 ||
+ ACE_OS::strcasecmp (name, ACE_TEXT("false")) == 0)
this->use_cleanup_options_ = false;
+ else if (ACE_OS::strcmp (name, ACE_TEXT("1")) == 0 ||
+ ACE_OS::strcasecmp (name, ACE_TEXT("true")) == 0)
+ this->use_cleanup_options_ = true;
+ else
+ this->report_option_value_error (ACE_TEXT("-ORBConnectionHandlerCleanup"), name);
}
}
else if (ACE_OS::strncmp (argv[curarg], ACE_TEXT("-ORB"), 4) == 0)