Lines Matching refs:tmpfile3
41 static char *tmpfile3 = NULL;
533 if ((fp3 = cvs_temp_file (&tmpfile3)) == NULL)
535 error (0, errno, "cannot create temporary file %s", tmpfile3);
541 error (0, errno, "warning: cannot close %s", tmpfile3);
586 switch (diff_exec (tmpfile1, tmpfile2, NULL, NULL, unidiff ? "-u" : "-c", tmpfile3))
605 fp = open_file (tmpfile3, "r");
611 failed to read diff file header %s for %s: end of file", tmpfile3, rcs);
615 tmpfile3, rcs);
618 error (0, errno, "error closing %s", tmpfile3);
631 error (0, errno, "error closing %s", tmpfile3);
645 error (0, errno, "error closing %s", tmpfile3);
716 error (0, errno, "cannot read %s", tmpfile3);
719 error (0, errno, "cannot close %s", tmpfile3);
735 if (CVS_UNLINK (tmpfile3) < 0)
736 error (0, errno, "cannot unlink %s", tmpfile3);
739 free (tmpfile3);
740 tmpfile1 = tmpfile2 = tmpfile3 = NULL;
793 if (tmpfile3 != NULL)
795 if (unlink_file (tmpfile3) < 0
797 error (0, errno, "cannot remove %s", tmpfile3);
798 free (tmpfile3);
800 tmpfile1 = tmpfile2 = tmpfile3 = NULL;