diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-22 00:08:19 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-22 00:08:19 +0000 |
commit | 5576d201d1cb7511e1f1c83425c2e8d28f7a155b (patch) | |
tree | 11f75f1ebcee65382634aa250917a7971bf445d6 | |
parent | 14eaa927a224db28deece91e513c0998ac3c9628 (diff) | |
download | ATCD-5576d201d1cb7511e1f1c83425c2e8d28f7a155b.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/ChangeLog-98c | 5 | ||||
-rw-r--r-- | TAO/tao/ORB_Core.cpp | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index 0a037e34c1e..8e420db1ecf 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,5 +1,10 @@ Mon Sep 21 18:20:35 1998 Irfan Pyarali <irfan@cs.wustl.edu> + * tao/ORB_Core.cpp (init): Added compile time option + TAO_USE_DOTTED_DECIMAL_ADDRESSES that makes the use of dotted + decimal addresses the default. Also changed the + -ORBdotteddecimaladdresses option to take an argument (0 or 1). + * tao/ORB.cpp: * tao/Connect.cpp: diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp index 567f91fe3e0..b0017c7f4b7 100644 --- a/TAO/tao/ORB_Core.cpp +++ b/TAO/tao/ORB_Core.cpp @@ -157,7 +157,11 @@ TAO_ORB_Core::init (int &argc, char *argv[]) char *preconnections = 0; // Use dotted decimal addresses +#if defined (TAO_USE_DOTTED_DECIMAL_ADDRESSES) + int dotted_decimal_addresses = 1; +#else int dotted_decimal_addresses = 0; +#endif /* TAO_USE_DOTTED_DECIMAL_ADDRESSES */ while (arg_shifter.is_anything_left ()) { @@ -188,7 +192,11 @@ TAO_ORB_Core::init (int &argc, char *argv[]) { // Use dotted decimal addresses arg_shifter.consume_arg (); - dotted_decimal_addresses = 1; + if (arg_shifter.is_parameter_next ()) + { + dotted_decimal_addresses = ACE_OS::atoi (arg_shifter.get_current ()); + arg_shifter.consume_arg (); + } } else if (ACE_OS::strcmp (current_arg, "-ORBdebug") == 0) { |