[Openais] section find
Steven Dake
sdake at mvista.com
Thu Jul 21 22:48:02 PDT 2005
thanks for the report
i can't run through the tests here on the road but monday i'll check it
out
if you have an example patch that might help.. I'm not I totally
understand what you mean without running the code with some debug
additions.
regards
-steve
On Thu, 2005-07-21 at 15:29 -0500, JA SL wrote:
> I've realized that on every
> ckpt_checkpoint_find_globalSection(), except on
> section create, the execution brings anything but the
> section requested.
>
> this is because when you create a section you do this
> with the section create structure
> req_lib_ckpt_sectioncreate
>
> for example if you do :
>
> ckptCheckpointSection =
> ckpt_checkpoint_find_globalSection (ckptCheckpoint,
> ((char *)(req_lib_ckpt_sectiondelete) + sizeof
> (struct req_lib_ckpt_sectiondelete) ),
> req_lib_ckpt_sectiondelete->idLen);
>
> the structure req_lib_ckpt_sectiondelete is a little
> bit different from req_lib_ckpt_sectioncreate.
>
> if you do the following:
> ckptCheckpointSection =
> ckpt_checkpoint_find_globalSection (ckptCheckpoint,
> ((char *)(req_lib_ckpt_sectiondelete) + sizeof
> (struct req_lib_ckpt_sectiondelete) + sizeof(SaTimeT)
> + sizeof(SaUint32T)),
> req_lib_ckpt_sectiondelete->idLen);
>
> you will find the requested section.
>
>
> the same problem is on every call of
> ckpt_checkpoint_find_globalSection. you might need to
> add or subtract it
>
> I hope this will be helpful
>
> bye
>
>
> jejejejeje_que buen chiste
>
> Jaim estuvo aqui
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> Regístrate ya - http://correo.espanol.yahoo.com/
> _______________________________________________
> Openais mailing list
> Openais at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/openais
More information about the Openais
mailing list