Displaying 4 results from an estimated 4 matches for "off_t_headers".
2013 Mar 05
4
2GB limit patch
...u code, that's ugly ..but as it is a first step it can
> be forgiven :-)
>
> I will just force flac to be built with 64 bit file offsets and just
> reject any caller trying to include/link libflac into a non-lfs program
> like
>
> http://ac-archive.sourceforge.net/largefile/off_t_headers.html
>
> Then we can fix all the internal problems, without the need of
> typedef'ing around ;)
Well, I'm afraid typedef'ing or something is mandatory for large file
support on win32, since off_t is *always* 32bit on win32 and flac
basically uses off_t everywhere for seek of...
2013 Mar 05
3
2GB limit patch
> This is an older issue reported in 2007:
> http://lists.xiph.org/pipermail/flac-dev/2007-September/002423.html
>
> The fix would be to use _ftelli64 instead of ftell with Visual Studio.
> http://msdn.microsoft.com/en-us/library/0ys3hc0b%28v=vs.110%29.aspx
That's not enough. At least, the followings are also needed.
1. Change off_t to something else. off_t can lead to ABI
2013 Mar 05
0
2GB limit patch
...lacement).
Nothing against you code, that's ugly ..but as it is a first step it can
be forgiven :-)
I will just force flac to be built with 64 bit file offsets and just
reject any caller trying to include/link libflac into a non-lfs program
like
http://ac-archive.sourceforge.net/largefile/off_t_headers.html
Then we can fix all the internal problems, without the need of
typedef'ing around ;)
2013 Mar 06
0
2GB limit patch
...p
>> it can
>> be forgiven :-)
>>
>> I will just force flac to be built with 64 bit file offsets and just
>> reject any caller trying to include/link libflac into a non-lfs
>> program
>> like
>>
>> http://ac-archive.sourceforge.net/largefile/off_t_headers.html
>>
>> Then we can fix all the internal problems, without the need of
>> typedef'ing around ;)
>
> Well, I'm afraid typedef'ing or something is mandatory for large file
> support on win32, since off_t is *always* 32bit on win32 and flac
> basically uses...