MatchesFileSuffix(char *filename, char *suffix)
{
int retval = 0;
-#if defined(_AIX) || defined(SVR4) || defined (__osf__) || defined(linux)
+#if defined(_AIX) || defined(SVR4) || defined (__osf__) || defined(linux) || \
+ defined(CSRG_BASED)
char *pch;
/*
{
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));
{