[Debian-hebrew-package] r965 - in /pkg/libhdate/trunk/debian: changelog patches/fix_3 patches/series

tzafrir at users.alioth.debian.org tzafrir at users.alioth.debian.org
Thu Nov 1 14:56:34 UTC 2012


Author: tzafrir
Date: Thu Nov  1 14:56:33 2012
New Revision: 965

URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=965
Log:
Patch fix_3: fix an endless loop with hcal -3.

Added:
    pkg/libhdate/trunk/debian/patches/fix_3
Modified:
    pkg/libhdate/trunk/debian/changelog
    pkg/libhdate/trunk/debian/patches/series

Modified: pkg/libhdate/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/libhdate/trunk/debian/changelog?rev=965&op=diff
==============================================================================
--- pkg/libhdate/trunk/debian/changelog (original)
+++ pkg/libhdate/trunk/debian/changelog Thu Nov  1 14:56:33 2012
@@ -1,3 +1,9 @@
+libhdate (1.6-2) UNRELEASED; urgency=low
+
+  * Patch fix_3: fix an endless loop with hcal -3.
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Thu, 01 Nov 2012 16:53:34 +0200
+
 libhdate (1.6-1) unstable; urgency=low
 
   * New upstream release

Added: pkg/libhdate/trunk/debian/patches/fix_3
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/libhdate/trunk/debian/patches/fix_3?rev=965&op=file
==============================================================================
--- pkg/libhdate/trunk/debian/patches/fix_3 (added)
+++ pkg/libhdate/trunk/debian/patches/fix_3 Thu Nov  1 14:56:33 2012
@@ -1,0 +1,15 @@
+Description: Fixes an endless with hcal -3
+Author: Tzafrir Cohen <tzafrir at debian.org>
+
+On hcal -3 we get padding < 0, and hence an endless loop as it is unsigned.
+--- a/examples/hcal/hcal.c
++++ b/examples/hcal/hcal.c
+@@ -656,7 +656,7 @@ void print_header_month_line_stdout( con
+ 	/**************************************************
+ 	*  print padding
+ 	*************************************************/
+-	for (j = 1; j < padding; j++) printf(" ");
++	for (j = 1; j < (int)padding; j++) printf(" ");
+ 
+ 
+ 	/**************************************************

Modified: pkg/libhdate/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/libhdate/trunk/debian/patches/series?rev=965&op=diff
==============================================================================
--- pkg/libhdate/trunk/debian/patches/series (original)
+++ pkg/libhdate/trunk/debian/patches/series Thu Nov  1 14:56:33 2012
@@ -1,3 +1,4 @@
 docdir.patch
 ld-as-needed.patch
 manpage.patch
+fix_3




More information about the Debian-hebrew-package mailing list