diff liboctave/file-stat.cc @ 11524:bd6e37860be5

use gnulib filemode module
author John W. Eaton <jwe@octave.org>
date Fri, 14 Jan 2011 06:18:51 -0500
parents fd0a3ac60b0e
children 7e9a111cae20
line wrap: on
line diff
--- a/liboctave/file-stat.cc
+++ b/liboctave/file-stat.cc
@@ -30,9 +30,10 @@
 #include <sys/types.h>
 #include <unistd.h>
 
+#include "filemode.h"
+
 #include "file-ops.h"
 #include "file-stat.h"
-#include "filemode.h"
 #include "statdefs.h"
 
 // FIXME -- the is_* and mode_as_string functions are only valid
@@ -156,7 +157,7 @@
 {
   char buf[11];
 
-  mode_string (fs_mode, buf);
+  strmode (fs_mode, buf);
 
   buf[10] = '\0';