Lines Matching refs:tmpfile2
40 static char *tmpfile2 = NULL;
524 if ((fp2 = cvs_temp_file (&tmpfile2)) == NULL)
526 error (0, errno, "cannot create temporary file %s", tmpfile2);
532 error (0, errno, "warning: cannot close %s", tmpfile2);
570 rev2, options, tmpfile2,
583 (void) utime (tmpfile2, &t);
586 switch (diff_exec (tmpfile1, tmpfile2, NULL, NULL, unidiff ? "-u" : "-c", tmpfile3))
733 if (CVS_UNLINK (tmpfile2) < 0)
734 error (0, errno, "cannot unlink %s", tmpfile2);
738 free (tmpfile2);
740 tmpfile1 = tmpfile2 = tmpfile3 = NULL;
786 if (tmpfile2 != NULL)
788 if (unlink_file (tmpfile2) < 0
790 error (0, errno, "cannot remove %s", tmpfile2);
791 free (tmpfile2);
800 tmpfile1 = tmpfile2 = tmpfile3 = NULL;