Imperia on IRC today reported that scummvm on 32 bit Linux failed to start a game located on a CIFS mount. After some debugging we traced this down to the lack of large file support in scummvm, which causes stat() calls to fail in some cases. (Hypothesis: the stat::st_ino field could be too small without large file support enabled.)
We should probably enable large file support by default on 32 bit systems to fix this. I believe the command 'getconf LFS_CFLAGS' gets the required flags on Linux. I don't know about other platforms, nor if it would be worth it and necessary to add support there.
Ticket imported from: #2924680. Ticket imported from: bugs/4740.
I attached a suggested patch for Linux.