diff liboctave/file-stat.cc @ 8690:6e9887f9cf9f

file-stat.cc: use EXISTS instead of OK in previuos change
author John W. Eaton <jwe@octave.org>
date Thu, 05 Feb 2009 19:39:38 -0500
parents ddbe87599331
children eb63fbe60fab
line wrap: on
line diff
--- a/liboctave/file-stat.cc
+++ b/liboctave/file-stat.cc
@@ -54,43 +54,43 @@
 bool
 base_file_stat::is_blk (void) const
 {
-  return ok () && is_blk (fs_mode);
+  return exists () && is_blk (fs_mode);
 }
 
 bool
 base_file_stat::is_chr (void) const
 {
-  return ok () && is_chr (fs_mode);
+  return exists () && is_chr (fs_mode);
 }
 
 bool
 base_file_stat::is_dir (void) const
 { 
-  return ok () && is_dir (fs_mode);
+  return exists () && is_dir (fs_mode);
 }
 
 bool
 base_file_stat::is_fifo (void) const
 { 
-  return ok () && is_fifo (fs_mode);
+  return exists () && is_fifo (fs_mode);
 }
 
 bool
 base_file_stat::is_lnk (void) const
 { 
-  return ok () && is_lnk (fs_mode);
+  return exists () && is_lnk (fs_mode);
 }
 
 bool
 base_file_stat::is_reg (void) const
 { 
-  return ok () && is_reg (fs_mode);
+  return exists () && is_reg (fs_mode);
 }
 
 bool
 base_file_stat::is_sock (void) const
 { 
-  return ok () && is_sock (fs_mode);
+  return exists () && is_sock (fs_mode);
 }
 
 bool