rpms/inadyn-mt/devel inadyn-mt-shutdown.patch, NONE, 1.1 inadyn-mt.spec, 1.5, 1.6

Jochen Schmitt s4504kr at fedoraproject.org
Wed May 12 15:22:37 UTC 2010


Author: s4504kr

Update of /cvs/pkgs/rpms/inadyn-mt/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1484

Modified Files:
	inadyn-mt.spec 
Added Files:
	inadyn-mt-shutdown.patch 
Log Message:
Add patch for better handling of http_client_shutdown

inadyn-mt-shutdown.patch:
 dyndns.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE inadyn-mt-shutdown.patch ---
diff -up inadyn-mt.v.02.18.14/src/dyndns.c.xxx inadyn-mt.v.02.18.14/src/dyndns.c
--- inadyn-mt.v.02.18.14/src/dyndns.c.xxx	2010-02-13 21:42:46.000000000 +0100
+++ inadyn-mt.v.02.18.14/src/dyndns.c	2010-05-12 17:18:09.920657952 +0200
@@ -822,9 +822,10 @@ static RC_TYPE do_update_alias_table(DYN
 
 			{
 				RC_TYPE rc2 = http_client_shutdown(&p_self->http_to_dyndns);
-				if (rc == RC_OK)
+				if (!(rc2 == RC_OK))
 				{
 					rc = rc2;
+					DBG_PRINTF((LOG_WARNING,"W:","http_client did possibly not shutdown properly, possible memory leak, system instability.\n")); 
 				}
 			}
 			if (rc != RC_OK)


Index: inadyn-mt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/inadyn-mt/devel/inadyn-mt.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- inadyn-mt.spec	11 May 2010 19:56:35 -0000	1.5
+++ inadyn-mt.spec	12 May 2010 15:22:37 -0000	1.6
@@ -3,7 +3,7 @@
 Name:           inadyn-mt
 
 Version:        2.18.14
-Release: 	2%{?dist}
+Release: 	3%{?dist}
 
 Summary:        Dynamic DNS Client
 
@@ -16,6 +16,7 @@ Source2:        inadyn.init
 Patch1:		inadyn-mt-path.patch
 Patch2:		inadyn-mt-ip.patch
 Patch3:		inadyn-mt-conf.patch
+Patch4:		inadyn-mt-shutdown.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	automake autoconf libao-devel
@@ -40,9 +41,10 @@ should then fill in /etc/inadyn.conf wit
 
 %prep
 %setup -q -n %name.v.0%{version}
-%patch1 -p1 -b .xx
-%patch2 -p1 -b .ip
-%patch3 -p1 -b .acx
+%patch1 -p1
+%patch2 -p1 
+%patch3 -p1 
+%patch4 -p1 -b .xxx
 
 %build
 rm -rf bin/
@@ -113,6 +115,9 @@ fi
 
 
 %changelog
+* Wed May 12 2010 Jochen Schmitt <Jochen herr-schmitt de> 2.18.14-3
+- Add patch for better handling of http_client_shutdown
+
 * Tue May 11 2010 Jochen Schmitt <Jochen herr-schmitt de> 2.18.14-2
 - Suppress warnings of skipping /usr/lib libraries on x86_64 systems
 



More information about the scm-commits mailing list