Searched refs:TMPINNAME (Results 1 – 4 of 4) sorted by relevance
| /dflybsd-src/usr.bin/patch/ |
| H A D | inp.c | 294 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() 373 if ((tifd = open(TMPINNAME, O_RDONLY)) < 0) in plan_b() 374 pfatal("can't reopen file %s", TMPINNAME); in plan_b() 409 pfatal("error reading tmp file %s", TMPINNAME); in ifetch()
|
| H A D | common.h | 77 extern char *TMPINNAME;
|
| H A D | patch.c | 66 char *TMPINNAME; variable 182 if (asprintf(&TMPINNAME, "%.*s/patchiXXXXXXXXXX", i, tmpdir) == -1) in main() 184 if ((fd = mkstemp(TMPINNAME)) < 0) in main() 185 pfatal("can't create %s", TMPINNAME); in main()
|
| H A D | util.c | 417 unlink(TMPINNAME); in my_exit()
|