diff options
| author | Phil Jones <philj56@gmail.com> | 2023-07-17 18:50:03 +0100 |
|---|---|---|
| committer | Phil Jones <philj56@gmail.com> | 2023-07-17 18:50:03 +0100 |
| commit | e918dd42ecd6ebdfa2a6d7726bc6e4dafc654f31 (patch) | |
| tree | 352b641509440e85790458f2f329128d8370544a /test/config.c | |
| parent | 9a808337312efdf607e33c351fd72e7a95821f12 (diff) | |
Use `access()` to check execute permissions.
This is the correct way to check if we have execute permissions for a
file (rather than checking `S_IXUSR`), and it isn't any slower. Should
result in very few differences (on my system, only `cupsd` disappears
from the list with this change).
Diffstat (limited to 'test/config.c')
0 files changed, 0 insertions, 0 deletions
