Subject: Re: [ecasound] largefile update
From: Kai Vehmanen (k_AT_eca.cx)
Date: Tue Dec 04 2001 - 16:08:39 EET
On Mon, 3 Dec 2001, S. Massy wrote:
> With glibc 2.2.4:
[...]
> typedef struct
> {
> __off_t __pos;
> __mbstate_t __state;
> } _G_fpos_t;
This explains the problem. Back to the drawing board. It seems I've
misused fpos_t (ecasound compiles with glibc2.1 just by accident).
Unfortunately the reason why ended up using fpos_t and fsetpos/fgetpos
was that the other 64bit alternative, using fseeko/ftello, didn't work
with glibc 2.1.x... :( I'll try to come up with a solution which
works with both, and still conforms to the C-spec.
PS It will be interesting to see how this will work on other
platforms ... especially FreeBSD and various Debian ports
of ecasound.
-- http://www.eca.cx Audio software for Linux!-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.
This archive was generated by hypermail 2b28 : Tue Dec 04 2001 - 16:02:20 EET