Hi zoran,

The  osaf_extended_name_init  is called in osaf/libs/core/leap/sysf_def.c

uint32_t leap_env_init(void)
{
         if (leap_env_init_count++ != 0) {
                 return NCSCC_RC_SUCCESS;
         }

         TRACE("INITIALIZING LEAP ENVIRONMENT");

         osaf_extended_name_init();



The leap_env_init is called when ncs_core_agents_startup at imma_startup.

created objects using longdns with immcfg. i did not see any 
problem(tried with latest changeset)

The below fix may not be required.

/Neel.


On Monday 25 August 2014 07:14 PM, Zoran Milinkovic wrote:
>   osaf/tools/safimm/immcfg/imm_cfg.c |  1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
>
> The patch enables using osaf_extended_name_* functions in the correct way 
> before the first saImmOmInitialize() is called.
>
> diff --git a/osaf/tools/safimm/immcfg/imm_cfg.c 
> b/osaf/tools/safimm/immcfg/imm_cfg.c
> --- a/osaf/tools/safimm/immcfg/imm_cfg.c
> +++ b/osaf/tools/safimm/immcfg/imm_cfg.c
> @@ -1539,5 +1539,6 @@ static int imm_operation(int argc, char
>   }
>   
>   int main(int argc, char *argv[]) {
> +     osaf_extended_name_init();
>       return imm_operation(argc, argv);
>   }


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to