Lines Matching defs:work
525 char* work[16];
617 work[cwd] = path;
618 work[cwd + 1] = 0;
619 work[cwd + 2] = 0;
637 if (i > (cwd + 1) || i >= elementsof(work))
655 bad("cannot create work directory\n", path);
669 bad("cannot create work link\n", path);
672 else if (!streq(work[cwd - 1], ".")) {
679 bad("cannot create work file\n", path);
684 s = work[cwd];
699 work[cwd = i] = s;
703 if (work[2]) {
704 if (!streq(work[cwd-1], ".") && access(path, F_OK))
714 bad("cannot create work link\n", path);
723 bad("cannot create work file\n", path);
725 *(work[2] - 1) = 0;
739 work[2] = 0;