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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: [PATCH] Fix mmap stdio vs. set*buf* interaction


On Wed, 2002-06-05 at 03:08, Jakub Jelinek wrote:

> See http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=65864
> Basically, f = fopen (somefile, "r"); setvbuf (f, buf, _IOFBF, sizeof buf);
> will result in broken stream.

I've checked in some patches which pass the test suite including your
new test.  I took the opportunity to make setvbuf work with wide streams
as well.  More extensive testing is necessary.

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

Attachment: signature.asc
Description: This is a digitally signed message part


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