#3487: Display problems for mbox-files > 2GiB
------------------------+----------------------
Reporter: antonio@… | Owner: mutt-dev
Type: defect | Status: new
Priority: trivial | Milestone:
Component: mutt | Version: 1.5.21
Resolution: | Keywords:
------------------------+----------------------
Changes (by ansgar):
* cc: ansgar@… (added)
Comment:
Jö and I wrote the attached patch after playing a bit with gdb. The
tmpoffset variable is used to temporarily store a off_t value:
tmpoffset = b->offset;
...
b->offset = tmpoffset;
This doesn't work if sizeof(off_t) != sizeof(long) as on i386 with
64-bit off_t.
Ansgar
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3487#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent