Home
last modified time | relevance | path

Searched refs:tmpfile1 (Results 1 – 2 of 2) sorted by relevance

/dragonfly/contrib/cvs-1.12/src/
H A Dpatch.c42 static char *tmpfile1 = NULL; variable
503 if ((fp1 = cvs_temp_file (&tmpfile1)) == NULL) in patch_fileproc()
547 (void)utime (tmpfile1, &t); in patch_fileproc()
723 if (CVS_UNLINK (tmpfile1) < 0) in patch_fileproc()
724 error (0, errno, "cannot unlink %s", tmpfile1); in patch_fileproc()
729 free (tmpfile1); in patch_fileproc()
732 tmpfile1 = tmpfile2 = tmpfile3 = NULL; in patch_fileproc()
776 if (tmpfile1 != NULL) in patch_cleanup()
778 if (unlink_file (tmpfile1) < 0 in patch_cleanup()
781 free (tmpfile1); in patch_cleanup()
[all …]
H A Drcscmds.c356 char *tmpfile1 = NULL; in RCS_exec_rcsdiff() local
382 tmpfile1 = cvs_temp_name(); in RCS_exec_rcsdiff()
383 status = RCS_checkout (rcsfile, NULL, rev1, NULL, options, tmpfile1, in RCS_exec_rcsdiff()
397 use_file1 = tmpfile1; in RCS_exec_rcsdiff()
448 if( tmpfile1 != NULL ) in RCS_exec_rcsdiff()
450 if( CVS_UNLINK( tmpfile1 ) < 0 ) in RCS_exec_rcsdiff()
453 error( 0, errno, "cannot remove temp file %s", tmpfile1 ); in RCS_exec_rcsdiff()
455 free( tmpfile1 ); in RCS_exec_rcsdiff()