In dtlogin, you can select the language to switch to by selecting it
via Options->Language. Unfortunately this was also including '.' and
'..', since this list is built dynamically by scanning a directory.
Now we screen out '.' and '..'.
{
locale = dp->d_name;
+ if ( (strcmp(dp->d_name, ".") == 0) ||
+ (strcmp(dp->d_name, "..") == 0) )
+ continue;
+
if (locale[0] != '.' &&
LANGLISTSIZE > (int) (strlen(languageList)+strlen(locale)+2));
{