This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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


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.

> so that we can provide exactly the right flags to the
> open() system call.

Which is exactly what the attached patch does.

Petur

2004-04-27  Petur Runolfsson  <peturr02@ru.is>

	* testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
	Open fifo with open(name, O_WRONLY), make sure close fails,
	use alarm to prevent child from hanging, add comments.


Attachment: 9964.cc.diff-2
Description: 9964.cc.diff-2


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