Lines Matching refs:dots
84 pushdir(register struct dirlist* d, char* dots, char* path, char* end)
88 if (!(p = newof(0, struct dirlist, 1, 0)) || chdir(dots))
129 char dots[PATH_MAX];
145 …FS3D_TEST) && (namlen = mount(".", dots, FS3D_GET|FS3D_VIEW|FS3D_SIZE(sizeof(dots)), NiL)) > 1 && …
147 p = dots;
180 d = dots;
189 if ((d - dots) > (PATH_MAX - 4))
191 if (!(dirstk = pushdir(dirstk, dots, p, buf + len - 1))) ERROR(ERANGE);
192 d = dots;
197 if (!(dirp = opendir(dots))) ERROR(errno);
201 if (stat(dots, par)) ERROR(errno);
247 if ((d - dots) > (PATH_MAX - 1 - namlen))
250 … if (namlen >= PATH_MAX || !(dirstk = pushdir(dirstk, dots + 3, p, buf + len - 1))) ERROR(ERANGE);
251 d = dots + 3;
254 } while (stat(dots, &tstst) || tstst.st_ino != cur->st_ino || tstst.st_dev != cur->st_dev);