p11_kit_module_load() - relative path
Andreas Metzler
ametzler at bebt.de
Tue Feb 23 18:31:40 UTC 2016
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
>> P11_MODULE_PATH.
>> 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
[...]
Hello,
Afaict this is not in the manual but in the autogenerated API docs, so
fixing the comment as attached seems to be enough.
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Doc-p11_kit_module_load-accepts-a-filename-arg.patch
Type: text/x-diff
Size: 1469 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/p11-glue/attachments/20160223/0ee8c6e5/attachment.patch>
More information about the p11-glue
mailing list