aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorJonathan Perkin <jperkin@joyent.com>2019-12-11 12:06:23 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-11 22:39:29 +0200
commitc3d0b95a58695257cc40cbc9a51dfa6c7f172ec4 (patch)
tree3911d6d52a3a92365ca52227594d8c7e5c2884b8 /mesonbuild/compilers
parent5031f4981d4fcf6eb0bc950669a0a77a7df22939 (diff)
downloadmeson-c3d0b95a58695257cc40cbc9a51dfa6c7f172ec4.zip
meson-c3d0b95a58695257cc40cbc9a51dfa6c7f172ec4.tar.gz
meson-c3d0b95a58695257cc40cbc9a51dfa6c7f172ec4.tar.bz2
dependencies: Fix executable file test on Unix.
access(2) tests for X_OK that return true do not always guarantee that the file is executable. Instead check the stat(2) mode bits explicitly. This fixes any builds or installs executed as root on Solaris and illumos that contain non-executable scripts.
Diffstat (limited to 'mesonbuild/compilers')
0 files changed, 0 insertions, 0 deletions