Home
last modified time | relevance | path

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

/netbsd/usr.bin/patch/
H A Dpatch.c71 char *TMPPATNAME; variable
194 if (asprintf(&TMPPATNAME, "%.*s/patchpXXXXXXXXXX", i, tmpdir) == -1) in main()
196 if ((fd = mkstemp(TMPPATNAME)) < 0) in main()
197 pfatal("can't create %s", TMPPATNAME); in main()
H A Dcommon.h90 extern char *TMPPATNAME;
H A Dpch.c111 pfp = fopen(TMPPATNAME, "w"); in open_patch_file()
113 pfatal("can't create %s", TMPPATNAME); in open_patch_file()
117 pfatal("can't write %s", TMPPATNAME); in open_patch_file()
118 filename = TMPPATNAME; in open_patch_file()
H A Dutil.c435 unlink(TMPPATNAME); in my_exit()