aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSeebs <seebs@seebs.net>2019-08-02 12:29:04 -0500
committerSeebs <seebs@seebs.net>2019-08-02 12:29:04 -0500
commit060058bb29f70b244e685b3c704eb0641b736f73 (patch)
tree76f5761ad3729960e6d89b493fd39eb8c7e6649a /test
parent097ca3e245200c4a4333964af59a106c42ff3bca (diff)
downloadpseudo-master.tar.gz
pseudo-master.tar.bz2
pseudo-master.zip
use *correct* flags for open/openat, also apply them for related statHEADmaster
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 'test')
0 files changed, 0 insertions, 0 deletions