changeset 12775:d02c9a58bae1 stable

use gnulib tmpfile module * bootstrap.conf (gnulib_modules): Include tmpfile in the list. * file-io.cc (Ftmpfile): Call gnulib::tmpfile here.
author John W. Eaton <jwe@octave.org>
date Tue, 28 Jun 2011 23:13:16 -0400
parents 987ecd306f3f
children 944cf42c699e
files build-aux/bootstrap.conf src/file-io.cc
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build-aux/bootstrap.conf	Fri Jun 24 14:32:42 2011 -0400
+++ b/build-aux/bootstrap.conf	Tue Jun 28 23:13:16 2011 -0400
@@ -59,6 +59,7 @@
   sys_times
   time
   times
+  tmpfile
   trunc
   truncf
   unistd
--- a/src/file-io.cc	Fri Jun 24 14:32:42 2011 -0400
+++ b/src/file-io.cc	Tue Jun 28 23:13:16 2011 -0400
@@ -1922,7 +1922,7 @@
 
   if (nargin == 0)
     {
-      FILE *fid = tmpfile ();
+      FILE *fid = gnulib::tmpfile ();
 
       if (fid)
         {