Lines Matching defs:newpath
1237 static char newpath[MAXPATHLEN];
1243 while ((len = readlink(*path, newpath, sizeof (newpath))) != -1) {
1244 newpath[len] = '\0';
1245 if (newpath[0] != '/') {
1246 if ((tp = strdup(newpath)) == NULL) {
1251 ret = snprintf(newpath, sizeof (newpath),
1254 if ((ret >= sizeof (newpath)) || (ret < 0))
1257 (void) strcpy(lastpath, newpath);
1258 *path = newpath;