Author: pulkomandy Date: 2010-07-21 12:34:06 +0200 (Wed, 21 Jul 2010) New Revision: 37643 Changeset: http://dev.haiku-os.org/changeset/37643 Modified: haiku/trunk/src/kits/locale/LocaleRoster.cpp Log: * Locale Roster : exclude the "gcc4" and "gcc2" folders when searching for add-ons. Avoids an useless debug message. Modified: haiku/trunk/src/kits/locale/LocaleRoster.cpp =================================================================== --- haiku/trunk/src/kits/locale/LocaleRoster.cpp 2010-07-21 10:12:59 UTC (rev 37642) +++ haiku/trunk/src/kits/locale/LocaleRoster.cpp 2010-07-21 10:34:06 UTC (rev 37643) @@ -50,13 +50,6 @@ const char *BLocaleRoster::kCatFingerprintAttr = "BEOS:LOCALE_FINGERPRINT"; // catalog fingerprint, may live in catalog file -const char *BLocaleRoster::kCatManagerMimeType - = "application/x-vnd.Be.locale.catalog-manager"; - // signature of catalog managing app -const char *BLocaleRoster::kCatEditorMimeType - = "application/x-vnd.Be.locale.catalog-editor"; - // signature of catalog editor app - const char *BLocaleRoster::kEmbeddedCatAttr = "BEOS:LOCALE_EMBEDDED_CATALOG"; // attribute which contains flattened data of embedded catalog // this may live in an app- or add-on-file @@ -358,7 +351,9 @@ while ((count = addOnFolder.GetNextDirents((dirent *)buf, 4096)) > 0) { dent = (dirent *)buf; while (count-- > 0) { - if (strcmp(dent->d_name, ".") && strcmp(dent->d_name, "..")) { + if (strcmp(dent->d_name, ".") && strcmp(dent->d_name, "..") + && strcmp(dent->d_name, "gcc2") + && strcmp(dent->d_name, "gcc4")) { // we have found (what should be) a catalog-add-on: eref.device = dent->d_pdev; eref.directory = dent->d_pino;