Lines Matching defs:pt
322 char *pt, *copy, *value, line[PATH_MAX];
370 if (pt = fpkgparam(fp, param)) {
374 value = copy = pt;
382 return (pt);
447 char *pt, *last;
452 for (pt = file; *pt; ) {
453 if (isdot(pt))
454 (void) strcpy(pt, pt[1] ? pt+2 : pt+1);
455 else if (isdotdot(pt)) {
457 last = pt;
464 --pt; /* point to previous '/' */
466 if (pt <= file)
468 while ((*--pt != '/') && (pt > file))
471 if (*pt == '/')
472 pt++;
473 (void) strcpy(pt, last);
475 while (*pt && (*pt != '/'))
476 pt++;
477 if (*pt == '/') {
478 while (pt[1] == '/')
479 (void) strcpy(pt, pt+1);
480 pt++;
484 if ((--pt > file) && (*pt == '/'))
485 *pt = '\0';