> What’s the story with ‘readdir’? Shooting in the dark, we've had "fun" with readdir on ARM before in GNU Mes and ended up doing the following: #ifdef __arm__ #define O_DIRECTORY 0x4000 /*#define O_DIRECT 0x10000*/ #else #define O_DIRECTORY 0x10000 #endif