Commit 6d197770 authored by bonnell's avatar bonnell

Fix path-structure assumption for paraDIS reader on Windows.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@16612 18c085ea-50e0-402c-830e-de6fd14e8384
parent 490aec5a
......@@ -714,7 +714,12 @@ bool ParallelData:: ParseMetaDataFile(void) {
} else {
cwd = string(buf) + "/";
}
if (mMetaDataFileName[0] != '/' ) {
#ifndef WIN32
if (mMetaDataFileName[0] != '/' )
#else
if (mMetaDataFileName.size() > 1 && mMetaDataFileName[1] != ':' )
#endif
{
debug2 << "mMetaDataFileName " << mMetaDataFileName;
mMetaDataFileName = cwd + "/" + mMetaDataFileName;
debug2 << " changed to " << mMetaDataFileName << endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment