An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

  • Vladimir's avatar
    SystemTools: Teach FindProgram to find non-readable programs · 66724af8
    Vladimir authored and Brad King's avatar Brad King committed
    This commit fixes FindProgram failing to detect executable without
    read bit set. find_program internally uses SystemTools::FileExists which
    calls access(R_OK) instead of access(X_OK).
    Replacing SystemTools::FileExists with SystemTools::TestFileAccess fixes
    this issue.
    
    Fine example of such program is sudo.
    66724af8
SystemTools.cxx 128 KB