[PATCH] RE: Testsuite problem

Zack Weinberg zack@codesourcery.com
Thu Apr 22 16:24:00 GMT 2004


Pétur Runólfsson <peturr02@ru.is> writes:

> Benjamin Kosnik wrote:
>> >The solution is probably to just use ios_base::out, and XFAIL on those
>> >targets where that doesn't work.
>> 
>> Yep. If you prepare a patch, and post it, it'll be easier to track this
>> issue. We can sort this out after the release.
>
> OK, this might work. This uses alarm to kill the child process if the
> parent fails to do it's thing. I have verified (by commenting out the
> call to open in the parent) that this works. I'm not sure if the XFAIL
> line is correct, or if XFAIL is needed for more platforms.

I clearly wasn't paying enough attention here.  Can you please clarify
why the original patch is incorrect?  I do not see why the change made
should have caused the write() operation not to fail.

zw



More information about the Gcc-patches mailing list