Re: FREAD fails on files >4GB



In article <slrng92sja.uh7.nospam@xxxxxxxxxxxxxx>,
Antoninus Twink <nospam@xxxxxxxxxxxxxx> wrote:
On 30 Jul 2008 at 23:44, vippstar@xxxxxxxxx wrote:
On Jul 31, 1:30 am, Richie Kernagan <ho...@xxxxxxxxxx> wrote:
The parameters to fread size and count are both size_t ie 64 bits. Even
so the call fails when the size arg is greater than 4GB (ie exceeds 32
bit unsigned value).

So what? fread can succeed or fail.

Great. Just great.

When an implementation deviates by a tiny fraction from the golden
tablets of The Standard, the people here come down on it like a ton of
bricks. But as long as it obeys the letter of the law, noone minds how
poor the quality of implementation might be.

The quality of any particular implementation is relevant to
newsgroups that deal with that particular implementation, and not
relevant to comp.lang.c, which deals with the C language rather than
with implementations.
--
"To burn always with this hard, gem-like flame, to maintain this
ecstasy, is success in life." -- Walter Pater
.



Relevant Pages

  • Re: new lisp book
    ... publishes it, and sells it. ... Current count exceeds 1000+ titles; ... they lack in quality they make up for in quantity. ...
    (comp.lang.lisp)
  • Re: Buy Coolscan 5000 or wait for 6000?
    ... The quality of scans possible with the 5000 exceeds the needs of ... all but a niche market, and the entire film niche is rapidly eroding. ... fact if one is in the market for a high quality film scanner now may be the ...
    (rec.photo.digital)
  • Re: Killer methadone?
    ... if you give it a chance!! ... PAINxtreme wrote: ... reaches a point that far exceeds any quality of life permanently, ...
    (alt.support.chronic-pain)
  • Re: Greatest of three numbers
    ... Mostly, alas, that is true. ... the quality of the answers usually ... far exceeds the quality of the questions. ...
    (comp.lang.c)
  • Re: Fortran and C++ portability (was Re: Help from fellow Fortran Users)
    ... This is a quality of implementation issue: ... foo.c:6: warning: float format, double arg ...
    (comp.lang.fortran)