]> git.ipfire.org Git - thirdparty/bind9.git/commit
plugin expand path automatically adds extension
authorColin Vidal <colin@isc.org>
Mon, 21 Jul 2025 13:06:11 +0000 (15:06 +0200)
committerColin Vidal <colin@isc.org>
Mon, 28 Jul 2025 21:08:04 +0000 (23:08 +0200)
commit7747ac8aed685bc47179d0e929f0c34e69c90cff
tree3a799d64b3135a08e1d6d6751d259c83165b9bca
parentbe03ed6520227426d2c38616b4408cc340dca4da
plugin expand path automatically adds extension

If a plugin is configured without the extension,
`ns_plugin_expandpath()` automatically take cares of appending the
suffix to the path. The way it works is by checking if a file exists at
the expanded path. If it doesn't, it assumes the plugin path (or name)
doesn't have the extension and append the extension (which is
platform-specific) to the actual path.
lib/ns/hooks.c