[PATCH] RE: Testsuite problem

Zack Weinberg zack@codesourcery.com
Tue Apr 27 17:14:00 GMT 2004


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



More information about the Gcc-patches mailing list