[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/dhcp/devel dhcp-3.0.4-timeouts.patch,1.2,1.3



Author: pjones

Update of /cvs/dist/rpms/dhcp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv27412

Modified Files:
	dhcp-3.0.4-timeouts.patch 
Log Message:
- define timeout cancellation functions


dhcp-3.0.4-timeouts.patch:
 common/dispatch.c                |   11 +
 includes/dhcpd.h                 |    9 -
 libdhcp4client/client/dhclient.c |    1 
 libdhcp4client/common/dispatch.c |  223 ++++++++++++++++++++-------------------
 4 files changed, 125 insertions(+), 119 deletions(-)

Index: dhcp-3.0.4-timeouts.patch
===================================================================
RCS file: /cvs/dist/rpms/dhcp/devel/dhcp-3.0.4-timeouts.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dhcp-3.0.4-timeouts.patch	22 Jun 2006 18:52:14 -0000	1.2
+++ dhcp-3.0.4-timeouts.patch	28 Jun 2006 19:19:56 -0000	1.3
@@ -89,7 +89,7 @@
  }
  
  /* Wait for packets to come in using select().   When one does, call
-@@ -104,116 +123,106 @@
+@@ -104,116 +123,104 @@
  	tvref_t ref;
  	tvunref_t unref;
  {
@@ -255,7 +255,7 @@
  	}
  }
  
- #if defined (DEBUG_MEMORY_LEAKAGE_ON_EXIT)
+-#if defined (DEBUG_MEMORY_LEAKAGE_ON_EXIT)
  void cancel_all_timeouts ()
  {
 -	struct timeout *t, *n;
@@ -280,7 +280,7 @@
 +	while (ntimeouts)
 +		cancel_timeout(timeouts[0].func, timeouts[0].what);
  }
- #endif
+-#endif
 --- dhcp-3.0.4/common/dispatch.c.timeouts	2006-02-22 17:43:27.000000000 -0500
 +++ dhcp-3.0.4/common/dispatch.c	2006-06-22 14:50:33.000000000 -0400
 @@ -39,7 +39,16 @@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]