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 Eye (the.eye_AT_gmx.li)
Date: Tue Dec 04 2001 - 10:53:45 EET


On Mon, Dec 03, 2001 at 07:58:57PM -0500, S. Massy wrote:
> On Tue, 04 Dec 2001, Kai Vehmanen <k_AT_eca.cx> wrote:
> > Hmm, this doesn't look good. The line in question is...:
> >
> > fpos_t newpos = position_in_samples() * frame_size();
> >
> > ... here position_in_sample() is a 'long long int' (and thus also the
> > whole expression 'position_in_samples() * frame_size()' is a long long
> > int). The above errors tells that 'f_pos_t' is defined to be '_G_fpos_t',
> > which again is not defined to any real scalar type.
> >
> > What does "grep _G_fpos_t /usr/include/*.h" show on your machine? With
> > glibc2.1.3 I get:
> >
> > --cut--
> > ###| ~ |$ grep _G_fpos_t /usr/include/*.h
> > /usr/include/_G_config.h:#define _G_fpos_t __off_t
> > /usr/include/libio.h:#define _IO_pos_t _G_fpos_t /* obsolete */
> > /usr/include/libio.h:#define _IO_fpos_t _G_fpos_t
> > /usr/include/stdio.h:typedef _G_fpos_t fpos_t;
> > --cut--
> With glibc 2.2.4:
> /usr/include/_G_config.h:30:} _G_fpos_t;
> /usr/include/libio.h:34:#define _IO_pos_t _G_fpos_t /* obsolete */
> /usr/include/libio.h:35:#define _IO_fpos_t _G_fpos_t
> /usr/include/stdio.h:80:typedef _G_fpos_t fpos_t;
>

with glibc-2.2-7 I get:
/usr/include/_G_config.h:} _G_fpos_t;
/usr/include/libio.h:#define _IO_pos_t _G_fpos_t /* obsolete */
/usr/include/libio.h:#define _IO_fpos_t _G_fpos_t
/usr/include/stdio.h:typedef _G_fpos_t fpos_t;

i.e. also without the __off_t thing ...

-- 
Michael Hellwig  aka  The Eye          michael.hellwig_AT_uibk.ac.at
check out http://homepage.uibk.ac.at/~csaa5128 for gpg public key


--
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 - 10:47:37 EET