# HG changeset patch # User John W. Eaton # Date 1466053313 14400 # Node ID 473414a915391f7d746a453da3bbaa2d9877cdf1 # Parent e4a53d9b28bde1e401e3406b8b4a43b0939b5ca9 * file-io.cc (cleanup_tmp_files): Use octave_unlink_wrapper. diff -r e4a53d9b28bd -r 473414a91539 libinterp/corefcn/file-io.cc --- a/libinterp/corefcn/file-io.cc Wed Jun 15 15:12:33 2016 -0400 +++ b/libinterp/corefcn/file-io.cc Thu Jun 16 01:01:53 2016 -0400 @@ -58,6 +58,7 @@ #include "mkostemp-wrapper.h" #include "oct-env.h" #include "oct-locbuf.h" +#include "unistd-wrappers.h" #include "defun.h" #include "errwarn.h" @@ -126,7 +127,7 @@ { std::string filename = tmp_files.top (); tmp_files.pop (); - gnulib::unlink (filename.c_str ()); + octave_unlink_wrapper (filename.c_str ()); } }