Lines Matching defs:newpath
1168 static char newpath[MAXPATHLEN];
1174 while ((len = readlink(*path, newpath, sizeof (newpath))) != -1) {
1175 newpath[len] = '\0';
1176 if (newpath[0] != '/') {
1177 if ((tp = strdup(newpath)) == NULL) {
1182 ret = snprintf(newpath, sizeof (newpath),
1185 if ((ret >= sizeof (newpath)) || (ret < 0))
1188 (void) strcpy(lastpath, newpath);
1189 *path = newpath;