From d86d99794510551eea2c593253bca06c7632f0be Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Wed, 9 Jan 2002 19:47:34 +0000 Subject: ChangeLogTag:Wed Jan 9 11:35:58 2002 Ossama Othman --- TAO/tao/ORB_Core.cpp | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp index ac54eea96c3..35a670afc31 100644 --- a/TAO/tao/ORB_Core.cpp +++ b/TAO/tao/ORB_Core.cpp @@ -759,38 +759,6 @@ TAO_ORB_Core::init (int &argc, char *argv[] TAO_ENV_ARG_DECL) arg_shifter.consume_arg (); } - else if ((current_arg = arg_shifter.get_the_parameter - ("-ORBSetUID"))) - { - // @@ This option introduces a security hole. Do not - // reinstate it. - - ACE_ERROR ((LM_ERROR, - ACE_TEXT ("-ORBSetUID is deprecated.\n"))); - - ACE_THROW_RETURN (CORBA::BAD_PARAM ( - CORBA_SystemException::_tao_minor_code ( - TAO_ORB_CORE_INIT_LOCATION_CODE, - EINVAL), - CORBA::COMPLETED_NO), - -1); - } - else if ((current_arg = arg_shifter.get_the_parameter - ("-ORBSetGID"))) - { - // @@ This option introduces a security hole. Do not - // reinstate it. - - ACE_ERROR ((LM_ERROR, - ACE_TEXT ("-ORBSetGID is deprecated.\n"))); - - ACE_THROW_RETURN (CORBA::BAD_PARAM ( - CORBA_SystemException::_tao_minor_code ( - TAO_ORB_CORE_INIT_LOCATION_CODE, - EINVAL), - CORBA::COMPLETED_NO), - -1); - } else if ((current_arg = arg_shifter.get_the_parameter ("-ORBid"))) @@ -811,6 +779,7 @@ TAO_ORB_Core::init (int &argc, char *argv[] TAO_ENV_ARG_DECL) arg_shifter.consume_arg (); } + //////////////////////////////////////////////////////////////// // catch any unknown -ORB args // //////////////////////////////////////////////////////////////// -- cgit v1.2.1