diff options
author | Seebs <seebs@seebs.net> | 2019-08-02 12:29:04 -0500 |
---|---|---|
committer | Seebs <seebs@seebs.net> | 2019-08-02 12:29:04 -0500 |
commit | 060058bb29f70b244e685b3c704eb0641b736f73 (patch) | |
tree | 76f5761ad3729960e6d89b493fd39eb8c7e6649a /doc | |
parent | 097ca3e245200c4a4333964af59a106c42ff3bca (diff) | |
download | pseudo-master.tar.gz pseudo-master.tar.bz2 pseudo-master.zip |
use *correct* flags for open/openat, also apply them for related statHEADross/mastermaster
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.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions