diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-07 10:18:24 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-04-24 17:52:13 +0300 |
commit | fc9fd42899e1e2160a69ec245931c3aa79b0d267 (patch) | |
tree | 7a652d752490109669b6915f83d826d6a34d7e9d /mesonbuild/compilers/java.py | |
parent | 475bfba79a1a65d85e880a44fd995fc4aaf0c8c4 (diff) | |
download | meson-fc9fd42899e1e2160a69ec245931c3aa79b0d267.zip meson-fc9fd42899e1e2160a69ec245931c3aa79b0d267.tar.gz meson-fc9fd42899e1e2160a69ec245931c3aa79b0d267.tar.bz2 |
interpreter: do not use pathlib for DependencyVariableString creation
Path.is_dir() can raise a PermissionError if a parent does not have
the executable permission set; plus the "in p.parents" tests are
very expensive. Do not use Path at all.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/compilers/java.py')
0 files changed, 0 insertions, 0 deletions