News for hackers. Stuff that matters.
Re:Unix Shells and the Current Directory by toast0 on Sunday November 26, 2023 @04:38PM (#38425238)
A reference to the current directory is needed in order to open relative filenames. You could conceivably retain a string path rather than a reference, but the behavior would be different when directories are renamed or unlinked.

There are no comments on this comment yet.