# HG changeset patch # User John W. Eaton # Date 1309228105 14400 # Branch stable # Node ID 54a15d13c79329d8a19e54c977f4bc10c3c7d012 # Parent 987ecd306f3f27a5641e21982ac34ac6e413f072 use gnulib tmpfile module * bootstrap.conf (gnulib_modules): Include tmpfile in the list. * file-io.cc (Ftmpfile): Call gnulib::tmpfile here. diff --git a/build-aux/bootstrap.conf b/build-aux/bootstrap.conf --- a/build-aux/bootstrap.conf +++ b/build-aux/bootstrap.conf @@ -59,6 +59,7 @@ sys_times time times + tmpfile trunc truncf unistd diff --git a/src/file-io.cc b/src/file-io.cc --- a/src/file-io.cc +++ b/src/file-io.cc @@ -1922,7 +1922,7 @@ if (nargin == 0) { - FILE *fid = tmpfile (); + FILE *fid = gnulib::tmpfile (); if (fid) {