Opened 11 years ago

Closed 11 years ago

Last modified 2 years ago

#4740 closed defect (fixed)

Large file support

Reported by: wjp Owned by: sev-
Priority: low Component: Port: Linux
Keywords: Cc:
Game:

Description

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.

Attachments (1)

scummvm_linux_lfs.patch (650 bytes ) - added by wjp 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by wjp, 11 years ago

I attached a suggested patch for Linux.

by wjp, 11 years ago

Attachment: scummvm_linux_lfs.patch added

comment:2 by sev-, 11 years ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

comment:3 by sev-, 11 years ago

Thanks, I committed the patch.

comment:4 by digitall, 2 years ago

Component: Port: Linux
Note: See TracTickets for help on using tickets.