From a6cc071443514d96bc6d4918551c7f7bf3034a71 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 6 Feb 1998 01:55:54 +0000 Subject: [PATCH] use os independent path seperator --- src/dbStatic/dbReadTest.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dbStatic/dbReadTest.c b/src/dbStatic/dbReadTest.c index 1e9899b1e..044035907 100644 --- a/src/dbStatic/dbReadTest.c +++ b/src/dbStatic/dbReadTest.c @@ -20,13 +20,14 @@ of this distribution. #include #include -#include "dbDefs.h" #include "epicsPrint.h" #include "errMdef.h" #include "dbStaticLib.h" #include "dbStaticPvt.h" #include "dbBase.h" #include "gpHash.h" +#include "osiFileName.h" +#include "dbDefs.h" DBBASE *pdbbase = NULL; @@ -42,7 +43,7 @@ int main(int argc,char **argv) char *psep; int *len; long status; - static char *pathSep = ":"; + static char *pathSep = OSI_PATH_LIST_SEPARATOR; static char *subSep = ","; /*Look for options*/ @@ -86,8 +87,8 @@ int main(int argc,char **argv) dbPvdDump(pdbbase); gphDump(pdbbase->pgpHash); dbDumpMenu(pdbbase,NULL); +*/ dbDumpRecord(pdbbase,NULL,0); dbFreeBase(pdbbase); -*/ return(0); }