Lines Matching refs:tmpfile1
39 static char *tmpfile1 = NULL; variable
515 if ((fp1 = cvs_temp_file (&tmpfile1)) == NULL)
517 error (0, errno, "cannot create temporary file %s", tmpfile1);
523 error (0, errno, "warning: cannot close %s", tmpfile1);
546 rev1, options, tmpfile1,
560 (void) utime (tmpfile1, &t);
586 switch (diff_exec (tmpfile1, tmpfile2, NULL, NULL, unidiff ? "-u" : "-c", tmpfile3))
731 if (CVS_UNLINK (tmpfile1) < 0)
732 error (0, errno, "cannot unlink %s", tmpfile1);
737 free (tmpfile1);
740 tmpfile1 = tmpfile2 = tmpfile3 = NULL;
779 if (tmpfile1 != NULL) in patch_cleanup()
781 if (unlink_file (tmpfile1) < 0 in patch_cleanup()
783 error (0, errno, "cannot remove %s", tmpfile1); in patch_cleanup()
784 free (tmpfile1); in patch_cleanup()
800 tmpfile1 = tmpfile2 = tmpfile3 = NULL; in patch_cleanup()