Lines Matching refs:stack_path
300 char stack_path[PATH_MAX + 1];
402 rc = snprintf(stack_path, sizeof(stack_path), "%s", out_file);
404 rc = snprintf(stack_path, sizeof(stack_path), "%s.bin", path);
406 if (rc < 0 || rc >= (int)sizeof(stack_path)) {
411 tmp = malloc(strlen(stack_path) + 7);
417 rc = sprintf(tmp, "%sXXXXXX", stack_path);
441 rc = rename(tmp, stack_path);
443 fprintf(stderr, "%s: rename %s -> %s failed: %s\n", argv[0], tmp, stack_path, strerror(errno));