This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] RE: Testsuite problem


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


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