# HG changeset patch # User jwe # Date 777676925 0 # Node ID ae87e84f1be3d18b554daac94970bd538a7f7666 # Parent fae2bd91c027d171c99d468f5633902177bbb944 [project @ 1994-08-23 21:21:45 by jwe] diff -r fae2bd91c027 -r ae87e84f1be3 src/file-io.cc --- a/src/file-io.cc Tue Aug 23 18:39:50 1994 +0000 +++ b/src/file-io.cc Tue Aug 23 21:22:05 1994 +0000 @@ -1392,7 +1392,7 @@ else string = args(1).string_value (); - tmp_file = tmpnam (0); + tmp_file = octave_tmp_file_name (); fptr = fopen (tmp_file, "w+"); if (! fptr) diff -r fae2bd91c027 -r ae87e84f1be3 src/oct-hist.cc --- a/src/oct-hist.cc Tue Aug 23 18:39:50 1994 +0000 +++ b/src/oct-hist.cc Tue Aug 23 21:22:05 1994 +0000 @@ -490,7 +490,7 @@ reverse = 1; } - char *name = tmpnam (0); + char *name = octave_tmp_file_name (0); fstream file (name, ios::out); diff -r fae2bd91c027 -r ae87e84f1be3 src/pt-plot.cc --- a/src/pt-plot.cc Tue Aug 23 18:39:50 1994 +0000 +++ b/src/pt-plot.cc Tue Aug 23 21:22:05 1994 +0000 @@ -798,7 +798,7 @@ char * save_in_tmp_file (tree_constant& t, int ndim, int parametric) { - char *name = strsave (tmpnam (0)); + char *name = strsave (octave_tmp_file_name ()); if (name) { ofstream file (name);