fullPath = path;
llassert (cstring_isDefined (file));
+ /* 2002-01-01: make sure returnPath gets defined even when there are errors.
+ ** (fixed splint checking detected this)
+ */
+
+ *returnPath = cstring_undefined;
+
if (fullPath == NULL
||
# if defined(OS2) || defined(MSDOS) || defined(WIN32)
}
}
}
-
+
return rVal;
/*@noaccess cstring@*/
}
char aPath[MAXPATHLEN];
filestatus rVal = OSD_FILENOTFOUND; /* assume file not found. */
/*@access cstring@*/
-
+
+ *returnPath = cstring_undefined;
fullPath = osd_getEnvironmentVariable (path);
if (fullPath == NULL)
if (**current_dir == '\0')
{
*len = 0;
+ *dir = NULL;
return FALSE;
}