fopen + mmap

Ulrich Drepper drepper@redhat.com
Sat Jan 19 02:10:00 GMT 2002


Before anybody gets more excited about this, I have modifications
which don't require setting the file position to the end.  The reason
I can live with this is that some more functions get simplified.  I
didn't do it initially this way since the extra code isn't justified
by the little bit of speed gain.

In general, it is not acceptable that positive development is hindered
by broken code.  There never ever was any document saying that the
file position is such and such after fopen.  People relying on it are
simply wrong.  And even though this code might now survive sometime
longer it does not mean it should not be fixed.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list