package fping
tags 340146 patch upstream
thanks

Confirming the bug.  Try these commands to reproduce :

ping 127.0.0.1 | cat
fping -l < pinglist.txt | cat

The attached patch fixes the bug.  I suggest that upstream verifies
where more fflush(stdout) is to be added.

--- fping-2.4b2-to-ipv6/fping.c_orig	2005-12-28 02:03:46.000000000 +0100
+++ fping-2.4b2-to-ipv6/fping.c	2005-12-28 02:04:06.000000000 +0100
@@ -1885,6 +1885,7 @@
 #endif
 		
 		printf( "\n" );
+		fflush( stdout );
 	
 	}/* IF */
 	

Reply via email to