------- Comment #7 from paolo dot carlini at oracle dot com 2010-09-10 14:39 ------- Then, seekoff would also return a position beyond the buffer, right? Or you want it to return 1 anyway? Actually, I think the standard want us to use width * off for the underlying fseek anyway, not only for off == 0, and this is not what we have been doing. I think there is something seriously different here, beyond the performance issue, which we should ponder much more, after so many years.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45628