Lines Matching defs:nstore
242 char *startp, *endp, *nstore;
247 nstore = (char *) alloca (prefixlen + strlen (progname) + 1);
256 nstore[0] = '.';
257 nstore[1] = DIR_SEPARATOR;
258 nstore[2] = '\0';
262 strncpy (nstore, startp, endp - startp);
265 nstore[endp - startp] = DIR_SEPARATOR;
266 nstore[endp - startp + 1] = 0;
269 nstore[endp - startp] = 0;
271 strcat (nstore, progname);
272 if (! access (nstore, X_OK)
274 || ! access (strcat (nstore, HOST_EXECUTABLE_SUFFIX), X_OK)
278 progname = nstore;