Re: [ecasound] largefile update

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] largefile update
From: The Anarcat (anarcat_AT_anarcat.dyndns.org)
Date: Tue Dec 04 2001 - 18:04:57 EET


On Tue Dec 04, 2001 at 04:08:39PM +0200, Kai Vehmanen wrote:
> On Mon, 3 Dec 2001, S. Massy wrote:
>
> > With glibc 2.2.4:
> [...]
> > typedef struct
> > {
> > __off_t __pos;
> > __mbstate_t __state;
> > } _G_fpos_t;
>
> PS It will be interesting to see how this will work on other
> platforms ... especially FreeBSD and various Debian ports
> of ecasound.

[freebsd maintainer hat on]

Hmm.. I haven't followed everything here, but:

anarcat_AT_shall[~]% grep _G_fpos_t /usr/include/*.h
anarcat_AT_shall[~]%

but:

anarcat_AT_shall[~]% find /usr/include -name "*.h" | xargs grep _G_fpos_t
/usr/include/g++/_G_config.h:typedef int __attribute__((__mode__(__DI__))) _G_fpos_t;
/usr/include/g++/libio.h:#define _IO_pos_t _G_fpos_t /* obsolete */
/usr/include/g++/libio.h:#define _IO_fpos_t _G_fpos_t
anarcat_AT_shall[~]%

I'm not sure I understand all the issues here, but it seems that might
be useful info to you guys:

/usr/include/g++/libio.h:
#if defined(_G_IO_IO_FILE_VERSION) && _G_IO_IO_FILE_VERSION == 0x20001
extern _IO_off64_t _IO_seekoff __P ((_IO_FILE *, _IO_off64_t, int, int));
extern _IO_off64_t _IO_seekpos __P ((_IO_FILE *, _IO_off64_t, int));
#else
extern _IO_off_t _IO_seekoff __P ((_IO_FILE *, _IO_off_t, int, int));
extern _IO_off_t _IO_seekpos __P ((_IO_FILE *, _IO_off_t, int));
#endif

I'm available for further tests/checks, however, I'm not sure compiling
the CVS version of ecasound is one of these, since it takes a few hours
here, and I'm not sure it would compile. ;)

a.


--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Dec 04 2001 - 17:56:07 EET