Lines Matching refs:TMPOUTNAME
68 char *TMPOUTNAME;
176 if (asprintf(&TMPOUTNAME, "%.*s/patchoXXXXXXXXXX", i, tmpdir) == -1)
178 if ((fd = mkstemp(TMPOUTNAME)) < 0)
179 pfatal("can't create %s", TMPOUTNAME);
238 init_output(TMPOUTNAME);
315 TMPOUTNAME);
367 say("Can't write %s\n", TMPOUTNAME);
382 if (move_file(TMPOUTNAME, outname) < 0) {
384 realout = TMPOUTNAME;
385 chmod(TMPOUTNAME, filemode);