p11_kit_module_load() - relative path
stef at thewalter.net
Fri Feb 26 20:29:41 UTC 2016
On 23.02.2016 19:31, Andreas Metzler wrote:
> On 2016-02-22 Stef Walter <stef-list at thewalter.net> wrote:
>> On 21.02.2016 09:02, Andreas Metzler wrote:
>>> the documentation says
>>> p11_kit_module_load ()
>>> module_path - full file path of module library
>>> however p11_kit_module_load() hands on the argument to
>>> load_module_from_file_inlock() which accepts relative paths, prepending
>>> So, the documentation does not reflect the behavior and either
>>> p11_kit_module_load() enforce a full path or the documentation should
>>> reflect that paths relative to P11_MODULE_PATH also work.
>> The latter sounds good. If I remember correctly, this was an additional
>> contributed later ... so I guess we forgot to update the documentation.
>> Are you interested in contributing a patch for the docs? They're in the
>> doc/manual/ directory
> Afaict this is not in the manual but in the autogenerated API docs, so
> fixing the comment as attached seems to be enough.
Thanks. Merged into master, and updated the online docs.
More information about the p11-glue