[Live-devel] find problem in Large size
Rishi kerala
rishikerala at gmail.com
Tue Jan 2 21:17:18 PST 2007
Hi Ross,
I fI use fopen64 and with some CFLAGS settings like CFLAGS+=
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
Now I can open this files. can You give some suggestions what we need change
any thing other than this to support for Large files.
Thank you for You kind coperation.
One more Still I am not getting the trick mode problem , I am trying to
solve that also. Any idea please pass to me
Thanks
Rgds
Rishi
n 1/3/07, Ross Finlayson <finlayson at live555.com> wrote:
>
> Can anyone shed light on this guy's problem. He says he's using Fedora
> Core 5, but gets a "File too large" error when he tries to open a 2+ GByte
> file using "fopen()". I thought that all modern OSs could now handle files
> this large?
>
> Could he perhaps be using an out-of-date version of "libc" instead??
>
>
> I am using Fedora Core 5 here.
> thanks
> Rgds
> Rishi
>
> On 1/3/07,* Ross Finlayson* <finlayson at live555.com > wrote:
>
> >I debug that file with a simple program.
> >fd = fopen("test.ts ","rb")
> >if (fd == NULL) perror(Failed to open");
> >
> >
> >error it is givingas
> >./a.out
> >Failed to open
> >: File too large.
> >
> >How to slove this
>
> You need to upgrade to a newer operating system (one that supports
> files >2^31 bytes in size).
> --
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070102/896b397b/attachment.html
More information about the live-devel
mailing list