mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
d99f571c05
When the user has some sort of hardening going on, we might not be able to read the Wine process's memory. In that case this check would return `false` even though the process is still running. To combat this, we should explicitly check for `EINVAL` which is returned when the file doesn't exist at all or when it's a broken 'symlink' (even though it isn't really a symlink).