diff src/file-io.cc @ 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 36ba0576bd1b
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)