From 17ef7b81d643aaa65e7aaba16d54f2baec7e1e7c Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 11 Dec 1999 14:58:02 +0000 Subject: Take a shot at using mkstemp() since we have a __warn_references() on the other temporary file creation functions.. --- contrib/cvs/diff/diff3.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'contrib/cvs/diff') diff --git a/contrib/cvs/diff/diff3.c b/contrib/cvs/diff/diff3.c index e3be150..c2997e9 100644 --- a/contrib/cvs/diff/diff3.c +++ b/contrib/cvs/diff/diff3.c @@ -12,6 +12,9 @@ GNU General Public License for more details. */ +/* + * $FreeBSD$ + */ /* Written by Randy Smith */ /* Librarification by Tim Pierce */ @@ -1274,7 +1277,7 @@ read_diff (filea, fileb, output_placement) *ap++ = fileb; *ap = 0; - diffout = tmpnam(NULL); + diffout = (char *)cvs_temp_name(); outfile_hold = outfile; callbacks_hold = callbacks; -- cgit v1.1