Emanuel,
could you test this patch:

Index: src/common/File.cpp
===================================================================
RCS file: /var/cvs/linuxsampler/linuxsampler/src/common/File.cpp,v
retrieving revision 1.7
diff -U3 -r1.7 File.cpp
--- src/common/File.cpp 14 Jul 2009 18:25:11 -0000      1.7
+++ src/common/File.cpp 18 Oct 2009 09:37:20 -0000
@@ -89,16 +89,10 @@

             struct dirent* pEnt = readdir(pDir);
             while (pEnt != NULL) {
-#ifdef _DIRENT_HAVE_D_TYPE
-            if (pEnt->d_type == DT_REG) {
-                fileList->push_back(std::string(pEnt->d_name));
-            }
-#else
             struct stat s;
             if (stat((Dir + DirSeparator + pEnt->d_name).c_str(), &s)
== 0 && S_ISREG(s.st_mode)) {
                 fileList->push_back(std::string(pEnt->d_name));
             }
-#endif
                 pEnt = readdir(pDir);
             }


_DIRENT_HAVE_D_TYPE has been added for efficiency reasons, but maybe
it is the one causing problems.
Thanks.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to