This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mmap stdio breaks GNU ld


> It is wrong to assume anything about the position of the file
> descriptor after fopen().  The standard dosn't guarantee anything.

However, many programs over the years have assumed it and it has always
been true.  Such assumptions are likely to produce subtle problems.  I
think we should preserve the property of fopen not moving the file position
for the sake of compatibility.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]