[tapx-dev] New Features

Andy Armstrong andy at hexten.net
Fri Aug 17 17:46:04 BST 2007


On 17 Aug 2007, at 17:41, Michael Peters wrote:
> Whoops, I was doing the TAP::Harness::Archive test suite against  
> the 0.52
> released version not the SVN version. When I run against SVN I get  
> the same
> warnings.

I've worked out what the problem is - if you close STDIN and then  
create another filehandle it gets STDIN's fd0 - which is bad. We're  
not explicitly closing STDIN but I pass it to open3 elsewhere and  
that seems to be the cause of the problem. We used to pass undef to  
open3 as the unused STDIN handle but that fails on 5.0.5 :)

I'm not sure that passing STDIN to open3() actually makes sense  
anyway - so I'll work round that problem another way and your  
warnings will disappear.

-- 
Andy Armstrong, hexten.net



More information about the tapx-dev mailing list