Home
last modified time | relevance | path

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

/freebsd/usr.bin/patch/
H A Dinp.c294 unlink(TMPINNAME); in plan_b()
295 if ((tifd = open(TMPINNAME, O_EXCL | O_CREAT | O_WRONLY, 0666)) < 0) in plan_b()
296 pfatal("can't open file %s", TMPINNAME); in plan_b()
369 if ((tifd = open(TMPINNAME, O_RDONLY)) < 0) in plan_b()
370 pfatal("can't reopen file %s", TMPINNAME); in plan_b()
405 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()