Searched refs:TMPOUTNAME (Results 1 - 7 of 7) sorted by relevance
/macosx-10.9.5/patch_cmds-17/patch/ |
H A D | common.h | 81 extern char *TMPOUTNAME;
|
H A D | patch.c | 60 char *TMPOUTNAME; variable 163 if (asprintf(&TMPOUTNAME, "%.*s/patchoXXXXXXXXXX", i, tmpdir) == -1) 165 if ((fd = mkstemp(TMPOUTNAME)) < 0) 166 pfatal("can't create %s", TMPOUTNAME); 227 init_output(TMPOUTNAME); 359 if (move_file(TMPOUTNAME, outname) < 0) { 361 realout = TMPOUTNAME; 362 chmod(TMPOUTNAME, filemode);
|
H A D | pch.c | 1369 if (copy_file(filearg[0], TMPOUTNAME) < 0) { 1370 unlink(TMPOUTNAME); 1371 fatal("can't create temp file %s", TMPOUTNAME); 1374 verbose ? " " : " -s ", TMPOUTNAME); 1413 if (move_file(TMPOUTNAME, outname) < 0) { 1415 chmod(TMPOUTNAME, filemode);
|
H A D | util.c | 415 unlink(TMPOUTNAME);
|
/macosx-10.9.5/gpatch-3/patch/ |
H A D | patch.c | 158 TMPOUTNAME = make_temp ('o'); 196 if (stat (TMPOUTNAME, &statbuf) != 0) 197 pfatal ("%s", TMPOUTNAME); 209 init_output (TMPOUTNAME, exclusive, &outstate); 384 move_file (TMPOUTNAME, &TMPOUTNAME_needs_removal, 1367 remove_if_needed (TMPOUTNAME, &TMPOUTNAME_needs_removal);
|
H A D | common.h | 175 XTERN char const * volatile TMPOUTNAME; variable
|
H A D | pch.c | 1893 copy_file (inname, TMPOUTNAME, exclusive, instat.st_mode); 1895 TMPOUTNAME); 1941 FILE *ifp = fopen (TMPOUTNAME, binary_transput ? "rb" : "r"); 1944 pfatal ("can't open `%s'", TMPOUTNAME);
|
Completed in 82 milliseconds