+ else
+ if ( (posLastDot != wxString::npos) && (format == wxPATH_VMS) )
+ {
+ if ( (posLastDot == 0) ||
+ (fullpath[posLastDot - 1] == ']' ) )
+ {
+ // under OpenVMS, dot may be (and commonly is) the first character of
+ // the filename, don't treat the entire filename as extension in
+ // this case
+ posLastDot = wxString::npos;
+ }
+ }