PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] What to use instead of chdir
Date: Thursday, 03 Sep 2020, 09:15:22


    > Message Posted By: Unknown
    >
    > In the fine points, you say don't use "chdir()" which was in the Matthew
    > and Stones textbook because it doesn't move in relation to the symbolic
    > link but rather the current directory. What should we use instead?

chdir() would allow fiend to use local names in calls to
stat() and lstat() as it traverses the tree.  Instead,
it could use the full pathname relative to the root of
the tree.

--Stan-
PREV INDEX NEXT