public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/fping/files: fping-2.4_beta2_p161-min-time.patch
@ 2010-08-25 16:22 Jeroen Roovers (jer)
  0 siblings, 0 replies; 4+ messages in thread
From: Jeroen Roovers (jer) @ 2010-08-25 16:22 UTC (permalink / raw
  To: gentoo-commits

jer         10/08/25 16:22:07

  Added:                fping-2.4_beta2_p161-min-time.patch
  Log:
  Fix -Q60 minimum ping response time bug by Alex Ghoth.
  
  (Portage version: 2.2_rc68/cvs/Linux i686)

Revision  Changes    Path
1.1                  net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch?rev=1.1&content-type=text/plain

Index: fping-2.4_beta2_p161-min-time.patch
===================================================================
--- old/fping.c	2010-08-24 16:59:38.947000447 +0100
+++ new/fping.c	2010-08-24 16:55:52.101000443 +0100
@@ -25,6 +25,7 @@
  * Original author:  Roland Schemers  <schemers@stanford.edu>
  * IPv6 Support:     Jeroen Massar    <jeroen@unfix.org / jeroen@ipng.nl>
  * Bugfixes, byte order & senseful seq.-numbers: Stephan Fuhrmann (stephan.fuhrmann AT 1und1.de)
+ * Fixes: min_reply_i in splits and compiler warning. Alex Ghoth (alex AT ghoth.net)
  *
  *
  * RCS header information no longer used.  It has been moved to the
@@ -743,7 +744,7 @@
 	
 	if( ( ping_data_size > MAX_PING_DATA ) || ( ping_data_size < MIN_PING_DATA ) )
 	{
-		fprintf( stderr, "%s: data size %u not valid, must be between %u and %u\n",
+		fprintf( stderr, "%s: data size %u not valid, must be between %lu and %u\n",
 			prog, ping_data_size, MIN_PING_DATA, MAX_PING_DATA );
 		usage();
 	
@@ -1112,7 +1113,7 @@
 		ht = timeval_diff( &current_time, &cursor->last_send_time );
 
 		if( report_interval && ( loop_flag || count_flag ) &&
-			( timeval_diff ( &current_time, &last_report_time )	> report_interval ) )
+			( timeval_diff ( &current_time, &last_report_time )	>= report_interval ) )
 		{
 			print_per_system_splits();
 			gettimeofday( &current_time, &tz );
@@ -1487,8 +1488,8 @@
 		}/* IF */
 		
 		fprintf( stderr, "\n" );
-		h->num_sent_i = h->num_recv_i = h->max_reply_i =
-			h->min_reply_i = h->total_time_i = 0;
+		h->num_sent_i = h->num_recv_i = h->max_reply_i = h->total_time_i = 0;
+		h->min_reply_i = 10000000;
 	
 	}/* FOR */
 
@@ -2377,6 +2378,7 @@
 	p->timeout = timeout;
 	p->running = 1;
 	p->min_reply = 10000000;
+	p->min_reply_i = 10000000;
 
 	if( strlen( p->host ) > max_hostname_len )
 		max_hostname_len = strlen( p->host );






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-analyzer/fping/files: fping-2.4_beta2_p161-min-time.patch
@ 2012-05-29 10:35 Tim Harder (radhermit)
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Harder (radhermit) @ 2012-05-29 10:35 UTC (permalink / raw
  To: gentoo-commits

radhermit    12/05/29 10:35:16

  Removed:              fping-2.4_beta2_p161-min-time.patch
  Log:
  Remove old.
  
  (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-analyzer/fping/files: fping-2.4_beta2_p161-min-time.patch
@ 2012-05-29 20:03 Tim Harder (radhermit)
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Harder (radhermit) @ 2012-05-29 20:03 UTC (permalink / raw
  To: gentoo-commits

radhermit    12/05/29 20:03:14

  Added:                fping-2.4_beta2_p161-min-time.patch
  Log:
  Re-add fping-2.4 for net-analyzer/zabbix.
  
  (Portage version: 2.2.0_alpha108/cvs/Linux x86_64, RepoMan options: --force)

Revision  Changes    Path
1.3                  net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch?r1=1.2&r2=1.3







^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-analyzer/fping/files: fping-2.4_beta2_p161-min-time.patch
@ 2014-07-11 12:47 Jeroen Roovers (jer)
  0 siblings, 0 replies; 4+ messages in thread
From: Jeroen Roovers (jer) @ 2014-07-11 12:47 UTC (permalink / raw
  To: gentoo-commits

jer         14/07/11 12:47:07

  Removed:              fping-2.4_beta2_p161-min-time.patch
  Log:
  Old.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-11 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 10:35 [gentoo-commits] gentoo-x86 commit in net-analyzer/fping/files: fping-2.4_beta2_p161-min-time.patch Tim Harder (radhermit)
  -- strict thread matches above, loose matches on Subject: below --
2014-07-11 12:47 Jeroen Roovers (jer)
2012-05-29 20:03 Tim Harder (radhermit)
2010-08-25 16:22 Jeroen Roovers (jer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox