Lines Matching defs:gpath
109 static char *gpath, *gpathp, *lastgpathp;
136 gpath = agpath;
137 gpathp = gpath;
139 lastgpathp = &gpath[sizeof (agpath) - 2];
178 gpathp = gpath; *gpathp = 0; globbed = 0;
210 if (*cs == '~' && gpathp == gpath) {
216 if (gpathp != gpath + 1) {
218 if (gethdir(gpath + 1))
220 (void) strcpy(gpath, gpath + 1);
222 (void) strcpy(gpath, home);
223 gpathp = strend(gpath);
229 Gcat(gpath, "");
230 else if (stat(gpath, &stb) >= 0) {
231 Gcat(gpath, "");
265 if (*gpath == (char)0) {
268 dirp = opendir(gpath);
284 Gcat(gpath, dp->d_name);
510 if (stat(gpath, &stb) == 0 && S_ISDIR(stb.st_mode))
512 Gcat(gpath, "");