Fixing a crash in a file-name handling routine. This bug was exposed as a...
Fixing a crash in a file-name handling routine. This bug was exposed as a result of running VisIt on windows with an empty VISITUSERHOME environment variable. If called with an empty directory argument, the method in FileFunctions.C will crash because it does directory.substr(directory.size() - 1). To fix this, I check explicitely for the empty 'directory' string and return failure in that case. git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@12457 18c085ea-50e0-402c-830e-de6fd14e8384
Showing with 5 additions and 2 deletions