Lines Matching refs:tmpfile1
44 static char *tmpfile1 = NULL; variable
549 if ((fp1 = cvs_temp_file (&tmpfile1)) == NULL) in patch_fileproc()
551 error (0, errno, "cannot create temporary file %s", tmpfile1); in patch_fileproc()
557 error (0, errno, "warning: cannot close %s", tmpfile1); in patch_fileproc()
580 tmpfile1, NULL, NULL); in patch_fileproc()
593 (void)utime (tmpfile1, &t); in patch_fileproc()
622 switch (diff_exec (tmpfile1, tmpfile2, NULL, NULL, dargc, dargv, in patch_fileproc()
775 if (CVS_UNLINK (tmpfile1) < 0) in patch_fileproc()
776 error (0, errno, "cannot unlink %s", tmpfile1); in patch_fileproc()
781 free (tmpfile1); in patch_fileproc()
784 tmpfile1 = tmpfile2 = tmpfile3 = NULL; in patch_fileproc()
833 if (tmpfile1 != NULL) in patch_cleanup()
835 if (unlink_file (tmpfile1) < 0 in patch_cleanup()
837 error (0, errno, "cannot remove %s", tmpfile1); in patch_cleanup()
838 free (tmpfile1); in patch_cleanup()
854 tmpfile1 = tmpfile2 = tmpfile3 = NULL; in patch_cleanup()