a fix to vtkEnSightReader.cxx from Hank
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Excerpted from Hank's e-mail
" Hello VTK Developers! I am attaching a patched version of vtkEnSightReader.cxx. I have a dearth of test data, so hopefully Kitware already does some good regression testing for this file format. The key issue was the way EnSight case files use wildcards. If you are replacing file.** with 2, it becomes file.02. But if you are replacing with file.* with 200, then, in the old version, it becomes fil200, where the attached version will create file.200. Slightly complicating the fix was that the strings passed into the ReplaceWildcards routine were not sized properly for wildcard expansion. The bottom line is that I think I did everything right and it works for me, but I certainly wouldn't mind if someone puts it through the paces. Finally, there appears to be a similar issue in vtkGenericEnSightReader.cxx. Since I have no test data for that reader, I'm not going to attempt a blind fix. Best regards, Hank "