Skip to content
  • Seebs's avatar
    use *correct* flags for open/openat, also apply them for related stat · 060058bb
    Seebs authored
    When statting a file that we may or may not be opening with O_NOFOLLOW,
    we should use lstat (or AT_SYMLINK_NOFOLLOW) to try to get information
    about the right file.
    
    Also when we want to check whether a bit is set, we should use & rather
    than |. I am an experienced programmer and know the difference between
    those.
    060058bb
To find the state of this project's repository at the time of any of these versions, check out the tags.