p11_kit_module_load() - relative path
stef-list at thewalter.net
Mon Feb 22 08:39:31 UTC 2016
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.
> I am not completely sure, but I think the latter is the better choice.
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
git clone git://anongit.freedesktop.org/p11-glue/p11-kit
More information about the p11-glue