PATCH: dlls/cabinet/cabextract.c and off_t

Gerald Pfeifer pfeifer at dbai.tuwien.ac.at
Fri Dec 27 04:35:00 CST 2002


On Thu, 26 Dec 2002, Greg Turner wrote:
>> If we really want to use off_t in this file (instead of cab_off_t)
>> we need to #include sys/types.h, or we'll break non-Linux systems.
> actually I don't think we really want to use off_t. [...]
> The easy version of the right fix is probably just to rename "cab_off_t"
> to something less confusing (i.e., cab_file_offset).  The fancy fix
> would be to support huge files, which might be a bit of a project.

Ah, I see.

Short to medium term, do you agree with my fix (#include <sys/types.h>)
so that Wine also builds on non-Linux systems?

Gerald
-- 
Gerald "Jerry"   pfeifer at dbai.tuwien.ac.at   http://www.pfeifer.com/gerald/



More information about the wine-devel mailing list