if reach the root directory, have to cd to the original directory
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 8 Mar 1993 04:34:18 +0000 (20:34 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 8 Mar 1993 04:34:18 +0000 (20:34 -0800)
commitb508e1fc9e4da6f15633650cfbfa8a392efc43c0
tree2163ecaa6a100c1ec2d83c4f2ab8326fcc86a885
parent38149c5d34187474fd6e3160e2eb128d17d52ca8
if reach the root directory, have to cd to the original directory
when load the paths for the next root.  test case is "du d1/d1d1 d2/d2d1",
the second root will not be in the right directory.

SCCS-vsn: lib/libc/gen/fts.c 5.41
usr/src/lib/libc/gen/fts.c