Mercurial > hg > octave-lyh
comparison src/file-io.cc @ 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 | f96b9b9f141b |
children | a19b50f6697f |
comparison
equal
deleted
inserted
replaced
12773:987ecd306f3f | 12775:d02c9a58bae1 |
---|---|
1920 | 1920 |
1921 int nargin = args.length (); | 1921 int nargin = args.length (); |
1922 | 1922 |
1923 if (nargin == 0) | 1923 if (nargin == 0) |
1924 { | 1924 { |
1925 FILE *fid = tmpfile (); | 1925 FILE *fid = gnulib::tmpfile (); |
1926 | 1926 |
1927 if (fid) | 1927 if (fid) |
1928 { | 1928 { |
1929 std::string nm; | 1929 std::string nm; |
1930 | 1930 |