rpms/stunnel/devel stunnel-4.11-printf.patch, NONE, 1.1 stunnel.spec, 1.24, 1.25

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jul 12 09:57:05 UTC 2005


Author: mitr

Update of /cvs/dist/rpms/stunnel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv24980

Modified Files:
	stunnel.spec 
Added Files:
	stunnel-4.11-printf.patch 
Log Message:
- Fix int/size_t mismatches in stack_info ()


stunnel-4.11-printf.patch:
 sthreads.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE stunnel-4.11-printf.patch ---
--- stunnel-4.11/src/sthreads.c.printf	2005-07-12 11:43:42.000000000 +0200
+++ stunnel-4.11/src/sthreads.c	2005-07-12 11:46:33.000000000 +0200
@@ -337,10 +337,10 @@
         s_log(LOG_NOTICE,
             "stack_info: size=%d, current=%d (%d%%), maximum=%d (%d%%)",
             STACK_SIZE,
-            (VERIFY_AREA-num)*sizeof(u32),
-            (VERIFY_AREA-num)*sizeof(u32)*100/STACK_SIZE,
-            (VERIFY_AREA-min_num)*sizeof(u32),
-            (VERIFY_AREA-min_num)*sizeof(u32)*100/STACK_SIZE);
+            (int)((VERIFY_AREA-num)*sizeof(u32)),
+            (int)((VERIFY_AREA-num)*sizeof(u32)*100/STACK_SIZE),
+            (int)((VERIFY_AREA-min_num)*sizeof(u32)),
+            (int)((VERIFY_AREA-min_num)*sizeof(u32)*100/STACK_SIZE));
     }
 }
 


Index: stunnel.spec
===================================================================
RCS file: /cvs/dist/rpms/stunnel/devel/stunnel.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- stunnel.spec	12 Jul 2005 09:30:02 -0000	1.24
+++ stunnel.spec	12 Jul 2005 09:57:03 -0000	1.25
@@ -15,6 +15,7 @@
 Source7: stunnel-pop3s-client.conf
 Patch0: stunnel-4.08-authpriv.patch
 Patch1: stunnel-4.08-sample.patch
+Patch2: stunnel-4.11-printf.patch
 Buildroot: %{_tmppath}/stunnel-root
 # util-linux is needed for rename
 BuildRequires: openssl-devel, pkgconfig, tcp_wrappers, util-linux
@@ -28,6 +29,7 @@
 %setup -q
 %patch0 -p1 -b .authpriv
 %patch1 -p1 -b .sample
+%patch2 -p1 -b .printf
 
 iconv -f iso-8859-1 -t utf-8 < doc/stunnel.fr.8 > doc/stunnel.fr.8_
 mv doc/stunnel.fr.8_ doc/stunnel.fr.8
@@ -87,6 +89,7 @@
 %changelog
 * Tue Jul 12 2005 Miloslav Trmac <mitr at redhat.com> - 4.11-1
 - Update to stunnel-4.11
+- Fix int/size_t mismatches in stack_info ()
 - Update Certificate-Creation for /etc/pki
 
 * Wed Jun  1 2005 Miloslav Trmac <mitr at redhat.com> - 4.10-2




More information about the fedora-cvs-commits mailing list