diff options
author | peter <peter@FreeBSD.org> | 1999-12-11 14:58:02 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-11 14:58:02 +0000 |
commit | 17ef7b81d643aaa65e7aaba16d54f2baec7e1e7c (patch) | |
tree | fa0799678a58bfe0283687e3195ae9f506a85de2 /contrib/cvs/diff | |
parent | afa6f15fc776bfa99c2d1c399bf36073c33a3c81 (diff) | |
download | FreeBSD-src-17ef7b81d643aaa65e7aaba16d54f2baec7e1e7c.zip FreeBSD-src-17ef7b81d643aaa65e7aaba16d54f2baec7e1e7c.tar.gz |
Take a shot at using mkstemp() since we have a __warn_references() on
the other temporary file creation functions..
Diffstat (limited to 'contrib/cvs/diff')
-rw-r--r-- | contrib/cvs/diff/diff3.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |