Home
last modified time | relevance | path

Searched refs:TMPINNAME (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/usr.bin/patch/
H A Dinp.c293 unlink(TMPINNAME); in plan_b()
294 if ((tifd = open(TMPINNAME, O_EXCL | O_CREAT | O_WRONLY, 0666)) < 0) in plan_b()
295 pfatal("can't open file %s", TMPINNAME); in plan_b()
374 if ((tifd = open(TMPINNAME, O_RDONLY)) < 0) in plan_b()
375 pfatal("can't reopen file %s", TMPINNAME); in plan_b()
410 pfatal("error reading tmp file %s", TMPINNAME); in ifetch()
H A Dcommon.h76 extern char *TMPINNAME;
H A Dpatch.c65 char *TMPINNAME; variable
181 if (asprintf(&TMPINNAME, "%.*s/patchiXXXXXXXXXX", i, tmpdir) == -1) in main()
183 if ((fd = mkstemp(TMPINNAME)) < 0) in main()
184 pfatal("can't create %s", TMPINNAME); in main()
H A Dutil.c416 unlink(TMPINNAME); in my_exit()