Package: fping Version: 2.4b2-to-ipv6-10 Severity: important
STDOUT stream in this program work fail. For example, perl script dont work correctly: ======== pinglist.pl file #!/usr/bin/perl -w use strict; my $command='fping -A -f pinglist.txt -l -p 5000'; #my $command='ping 127.0.0.1'; #$!=1; open PING,'-|',$command or die 'Nic z tego'; my $linia; while () { $linia=<PING>; last unless defined $linia; print "$linia\n"; } close PING; ======== pinglist.txt file 127.0.0.1 127.0.0.2 when I uncommend standard ping command, it works correctly, but I need ping many of host, that is why I try to use fping. notice. when I remove -l option from $command, this works correctly, because fping at exit close itself STDOUT . In loop mode (-l), this works fail. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2) Versions of packages fping depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]