Lines Matching refs:nstore
249 char *startp, *endp, *nstore; in make_relative_prefix_1() local
259 nstore = (char *) alloca (len); in make_relative_prefix_1()
268 nstore[0] = '.'; in make_relative_prefix_1()
269 nstore[1] = DIR_SEPARATOR; in make_relative_prefix_1()
270 nstore[2] = '\0'; in make_relative_prefix_1()
274 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
277 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
278 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
281 nstore[endp - startp] = 0; in make_relative_prefix_1()
283 strcat (nstore, progname); in make_relative_prefix_1()
284 if (! access (nstore, X_OK) in make_relative_prefix_1()
286 || ! access (strcat (nstore, HOST_EXECUTABLE_SUFFIX), X_OK) in make_relative_prefix_1()
292 if (stat (nstore, &st) >= 0 && S_ISREG (st.st_mode)) in make_relative_prefix_1()
295 progname = nstore; in make_relative_prefix_1()