changeset 637:ae87e84f1be3

[project @ 1994-08-23 21:21:45 by jwe]
author jwe
date Tue, 23 Aug 1994 21:22:05 +0000
parents fae2bd91c027
children 2f2e66230c22
files src/file-io.cc src/oct-hist.cc src/pt-plot.cc
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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);
 
--- 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);