Searched refs:rnext (Results 1 – 2 of 2) sorted by relevance
257 struct string_list *rnext; in find_in_path() local260 rnext = xmalloc(sizeof(void *) + strlen(filename) in find_in_path()262 if (!len) sprintf(rnext->str, "%s/%s", cwd, filename); in find_in_path()264 memcpy(res = rnext->str, path, len); in find_in_path()271 if (!stat(rnext->str, &st) && S_ISREG(st.st_mode)) { in find_in_path()272 *prlist = rnext; in find_in_path()273 rnext->next = NULL; in find_in_path()274 prlist = &(rnext->next); in find_in_path()275 } else free(rnext); in find_in_path()
1941 struct redir_struct *r, *rnext; local1979 for (r=child->redirects; r; r=rnext) {1990 rnext=r->next;