mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
xdrgen: Generalize/harden pathname construction
Use Python's built-in Path constructor to find the Jinja templates. This provides better error checking, proper use of path component separators, and more reliable location of the template files. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
parent
898f944652
commit
75a9b40f3b
1 changed files with 6 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue