Mercurial > octave
diff liboctave/system/file-stat.cc @ 21901:7338be52b892
hide gnulib filemode header
* liboctave/wrappers/strmode-wrapper.c,
liboctave/wrappers/strmode-wrapper.h: New files.
* liboctave/wrappers/module.mk: Update.
* file-stat.cc: Use new octave_strmode_wrapper function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 14 Jun 2016 15:18:59 -0400 |
parents | 25493c55d976 |
children | 2f33052c68ff |
line wrap: on
line diff
--- a/liboctave/system/file-stat.cc Tue Jun 14 14:28:09 2016 -0400 +++ b/liboctave/system/file-stat.cc Tue Jun 14 15:18:59 2016 -0400 @@ -27,11 +27,10 @@ #include <cerrno> #include <cstring> -#include "filemode.h" - #include "file-ops.h" #include "file-stat.h" #include "statdefs.h" +#include "strmode-wrapper.h" namespace octave { @@ -158,7 +157,7 @@ { char buf[12]; - strmode (m_mode, buf); + octave_strmode_wrapper (m_mode, buf); return std::string (buf); }