This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] RE: Testsuite problem
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Pétur Runólfsson <peturr02 at ru dot is>
- Cc: "Benjamin Kosnik" <bkoz at redhat dot com>, <libstdc++ at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 Apr 2004 10:01:10 -0700
- Subject: Re: [PATCH] RE: Testsuite problem
- References: <07D05A69A3D0C14FAEA60C3ACE8E5564028D0EB6@mail.ru.is>
Pétur Runólfsson <peturr02@ru.is> writes:
> Zack Weinberg wrote:
>> Oh, yuck, you're right. In that case the only way to make this test
>> reliably test what it's supposed to, will be to introduce a .fdopen()
>> extension method
>
> There already is such a thing. It's named stdio_filebuf.
Oh neat. I couldn't find that.
>> so that we can provide exactly the right flags to the
>> open() system call.
>
> Which is exactly what the attached patch does.
Looks good to me. There are several other tests that probably want
the same treatment.
zw