Lines Matching defs:pt
94 char *pt;
99 for (pt = a_file; *pt; /* void */) {
100 if (isdot(pt)) {
101 (void) strcpy(pt, pt[1] ? pt+2 : pt+1);
102 } else if (isdotdot(pt)) {
104 last = pt;
112 --pt; /* point to previous '/' */
114 if (pt <= a_file) {
117 while ((*--pt != '/') && (pt > a_file))
120 if (*pt == '/') {
121 pt++;
123 (void) strcpy(pt, last);
125 while (*pt && (*pt != '/')) {
126 pt++;
128 if (*pt == '/') {
129 while (pt[1] == '/') {
130 (void) strcpy(pt, pt+1);
132 pt++;
137 if ((--pt > a_file) && (*pt == '/')) {
138 *pt = '\0';