This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: mmap stdio breaks GNU ld
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Bruno Haible <haible at ilog dot fr>
- Cc: libc-alpha at sources dot redhat dot com
- Date: 18 Jan 2002 15:06:19 -0800
- Subject: Re: mmap stdio breaks GNU ld
- References: <15432.42908.254186.93015@honolulu.ilog.fr>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
Bruno Haible <haible@ilog.fr> writes:
> I.e. 'fileno' has become useless because the file pointer
> is positioned at the end of the file right after opening it.
It is wrong to assume anything about the position of the file
descriptor after fopen(). The standard dosn't guarantee anything.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------