Yeah if you chdir() in a multithreaded program, all cwd-relative file accesses in other threads are fucked.
As well as absolute paths, it’s ok to work with descriptor-relative paths using openat() and friends.
As well as absolute paths, it’s ok to work with descriptor-relative paths using openat() and friends.
No comments yet.