Subject: Re: large file support?

From: Steven Scholz <[email-masked]>
Date: Thu, 31 Jul 2003 14:59:47 +0200

Wolfgang Denk wrote:

> In message <[email-masked]> you wrote:
>
>>I reckon my app does not support large files. Since after writing 2GB
>>to a file
>
>
> Did  you  build  it  with  the  required  options,   like   #defining
> _FILE_OFFSET_BITS as 64 ?

Nope!
But good point! :o)
And I just got these lines:

Fillod Stephane wrote:
 > Recent kernel and glibc are fine.
 >
 > Pass O_LARGEFILE to the second open() arg, and compile
 > with "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" should do it.

and rebuilt my application. But the test (with my app) will take a
while...

Thanks!

Steven

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/