Lines Matching refs:npath_ptr
180 register char *npath_ptr, *ir_ptr; in fixpath() local
192 npath_ptr = npath; in fixpath()
196 *npath_ptr++ = *ir_ptr++; /* copy it */ in fixpath()
204 if (*(npath_ptr - 1) == '/') in fixpath()
205 npath_ptr--; in fixpath()
208 (void) strcpy(npath_ptr, path); in fixpath()
237 register char *npath_ptr, *ir_ptr; in fixpath_dup() local
244 npath_ptr = npath; in fixpath_dup()
248 *npath_ptr++ = *ir_ptr++; /* copy it */ in fixpath_dup()
256 if (*(npath_ptr - 1) == '/') in fixpath_dup()
257 npath_ptr--; in fixpath_dup()
260 (void) strcpy(npath_ptr, path); in fixpath_dup()