Lines Matching defs:nstore
252 char *startp, *endp, *nstore;
263 nstore = (char *) alloca (len);
265 alloc_ptr = nstore = (char *) malloc (len);
274 nstore[0] = '.';
275 nstore[1] = DIR_SEPARATOR;
276 nstore[2] = '\0';
280 memcpy (nstore, startp, endp - startp);
283 nstore[endp - startp] = DIR_SEPARATOR;
284 nstore[endp - startp + 1] = 0;
287 nstore[endp - startp] = 0;
289 strcat (nstore, progname);
290 if (! access (nstore, X_OK)
292 || ! access (strcat (nstore, HOST_EXECUTABLE_SUFFIX), X_OK)
298 if (stat (nstore, &st) >= 0 && S_ISREG (st.st_mode))
301 progname = nstore;