<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>"fopen()" problem with large files on
Fedora?</title></head><body>
<div>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?</div>
<div><br></div>
<div>Could he perhaps be using an out-of-date version of "libc"
instead??</div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite>I am using Fedora Core 5 here.<br>
thanks<br>
Rgds<br>
Rishi<br>
</blockquote>
<blockquote type="cite" cite>On 1/3/07,<b> Ross Finlayson</b> <<a
href="mailto:finlayson@live555.com">finlayson@live555.com</a> >
wrote:<br>
<blockquote>>I debug that file with a simple program.<br>
>fd = fopen("test.ts ","rb")<br>
>if (fd == NULL) perror(Failed to open");<br>
><br>
><br>
>error it is givingas<br>
>./a.out<br>
>Failed to open<br>
>: File too large.<br>
><br>
>How to slove this<br>
<br>
You need to upgrade to a newer operating system (one that supports<br>
files >2^31 bytes in size).<br>
--<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a
href="http://www.live555.com/">http://www.live555.com/</a></blockquote>
</blockquote>
<div><br></div>
</body>
</html>