Bernard Li wrote:
> Hi guys:
> 
> Was testing OSCAR trunk with Fedora Core 7 Test 2 i386, and
> si_netbootmond failed to start up (trunk comes with SystemImager
> 3.8.0).
> 
> I had to replace the line:
> 
> open STDOUT, '>>/dev/null'  or die "Can't write to /dev/null: $!";
> 
> with
> 
> open '>-', '>>/dev/null'  or die "Can't write to /dev/null: $!";
> 
> otherwise it would fail sooner...
> 
> The strace is here:
> 
> http://earth.therealms.org/oss/systemimager/si_netbootmond.strace
> 
> The version of Perl on fc7t2 is:
> 
> This is perl, v5.8.8 built for i386-linux-thread-multi
> 
> It's quite possible it's a bug in test 2, but just thought we should
> crush this bug before FC7 is released.
> 
> Thanks,
> 
> Bernard

Bernard,

it doesn't seem a good fix... what's the '>-'? for example with a simple
script like the following:

open '>-', '>>/dev/null'  or die "Can't write to /dev/null: $!";
print "bye\n";

the string "bye" is printed in stdout...

Have you tried to use a single ">":

open STDOUT, '>/dev/null'  or die "Can't write to /dev/null: $!";

Cheers,
-Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to