Home
last modified time | relevance | path

Searched refs:mdpath (Results 1 – 1 of 1) sorted by relevance

/original-bsd/usr.bin/make/
H A Dmain.c349 char mdpath[MAXPATHLEN + 1]; local
403 (void) sprintf(mdpath, "%s.%s", path, machine);
406 (void) strncpy(mdpath, path, MAXPATHLEN + 1);
408 if (stat(mdpath, &sb) == 0 && S_ISDIR(sb.st_mode)) {
410 if (chdir(mdpath)) {
412 mdpath, strerror(errno));
416 if (mdpath[0] != '/') {
417 (void) sprintf(obpath, "%s/%s", curdir, mdpath);
421 objdir = mdpath;