From 806d03e44b99fc961c3bf4729a3d49db34e2121d Mon Sep 17 00:00:00 2001
From: Ger van Diepen <diepen@astron.nl>
Date: Thu, 21 Apr 2011 08:12:12 +0000
Subject: [PATCH] bug 1655: use File instead of RegularFile

---
 CEP/MS/src/VdsMaker.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CEP/MS/src/VdsMaker.cc b/CEP/MS/src/VdsMaker.cc
index c699064d113..2777ab458cb 100644
--- a/CEP/MS/src/VdsMaker.cc
+++ b/CEP/MS/src/VdsMaker.cc
@@ -48,7 +48,7 @@
 #include <casa/Containers/Record.h>
 #include <casa/Utilities/LinearSearch.h>
 #include <casa/OS/Path.h>
-#include <casa/OS/RegularFile.h>
+#include <casa/OS/File.h>
 #include <casa/OS/HostInfo.h>
 #include <casa/Exceptions/Error.h>
 #include <iostream>
@@ -149,9 +149,9 @@ void VdsMaker::getDataFileInfo (MS& ms, string& name, bool& regular,
 	  ostringstream str;
 	  str << specrec.asInt ("SEQNR");
 	  name = string(ms.tableName()) + "/table.f" + str.str() + "_TSM1";
-	  if (! RegularFile(name).exists()) {
+	  if (! File(name).exists()) {
 	    name = string(ms.tableName()) + "/table.f" + str.str() + "_TSM0";
-	    if (! RegularFile(name).exists()) {
+	    if (! File(name).exists()) {
 	      regular = false;
 	    }
 	  }
-- 
GitLab