Lines Matching refs:tmpfile3
46 static char *tmpfile3 = NULL; variable
567 if ((fp3 = cvs_temp_file (&tmpfile3)) == NULL) in patch_fileproc()
569 error (0, errno, "cannot create temporary file %s", tmpfile3); in patch_fileproc()
575 error (0, errno, "warning: cannot close %s", tmpfile3); in patch_fileproc()
623 tmpfile3)) in patch_fileproc()
657 fp = xfopen (tmpfile3, "r"); in patch_fileproc()
666 failed to read diff file header %s for %s: end of file", tmpfile3, rcs); in patch_fileproc()
670 tmpfile3, rcs); in patch_fileproc()
674 error (0, errno, "error closing %s", tmpfile3); in patch_fileproc()
687 error (0, errno, "error closing %s", tmpfile3); in patch_fileproc()
701 error (0, errno, "error closing %s", tmpfile3); in patch_fileproc()
760 error (0, errno, "cannot read %s", tmpfile3); in patch_fileproc()
763 error (0, errno, "cannot close %s", tmpfile3); in patch_fileproc()
779 if (CVS_UNLINK (tmpfile3) < 0) in patch_fileproc()
780 error (0, errno, "cannot unlink %s", tmpfile3); in patch_fileproc()
783 free (tmpfile3); in patch_fileproc()
784 tmpfile1 = tmpfile2 = tmpfile3 = NULL; in patch_fileproc()
847 if (tmpfile3 != NULL) in patch_cleanup()
849 if (unlink_file (tmpfile3) < 0 in patch_cleanup()
851 error (0, errno, "cannot remove %s", tmpfile3); in patch_cleanup()
852 free (tmpfile3); in patch_cleanup()
854 tmpfile1 = tmpfile2 = tmpfile3 = NULL; in patch_cleanup()