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

r1911 - in glibc-package: branches/glibc-2.5/debian branches/glibc-2.5/debian/patches trunk/debian trunk/debian/patches trunk/debian/patches/any



Author: aurel32
Date: 2007-01-22 17:51:27 +0100 (Mon, 22 Jan 2007)
New Revision: 1911

Added:
   glibc-package/trunk/debian/patches/any/cvs-itoa-c.diff
Modified:
   glibc-package/branches/glibc-2.5/debian/changelog
   glibc-package/branches/glibc-2.5/debian/patches/series
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/any/cvs-itoa-c.diff: new patch from CVS (fix sprintf %0lld with
    argument equals to 0).  Closes: bug#292523.



Modified: glibc-package/branches/glibc-2.5/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.5/debian/changelog	2007-01-22 14:40:42 UTC (rev 1910)
+++ glibc-package/branches/glibc-2.5/debian/changelog	2007-01-22 16:51:27 UTC (rev 1911)
@@ -253,8 +253,10 @@
 
   * patches/kfreebsd/local-sysdeps.diff: update to revision 1886 (from
     glibc-bsd).
+  * patches/any/cvs-itoa-c.diff: new patch from CVS (fix sprintf %0lld with
+    argument equals to 0).  Closes: bug#292523.
 
- -- Aurelien Jarno <aurel32@debian.org>  Mon, 22 Jan 2007 15:36:14 +0100
+ -- Aurelien Jarno <aurel32@debian.org>  Mon, 22 Jan 2007 17:47:01 +0100
 
 glibc (2.3.6.ds1-10) unstable; urgency=low
 

Modified: glibc-package/branches/glibc-2.5/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.5/debian/patches/series	2007-01-22 14:40:42 UTC (rev 1910)
+++ glibc-package/branches/glibc-2.5/debian/patches/series	2007-01-22 16:51:27 UTC (rev 1911)
@@ -88,6 +88,7 @@
 all/local-pt_BR.diff -p1
 all/submitted-new-brf-encoding.diff -p0
 
+any/cvs-itoa-c.diff -p1
 any/cvs-zdump-64-bit.diff -p1
 any/local-__thread.diff -p0
 any/local-asserth-decls.diff -p0

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2007-01-22 14:40:42 UTC (rev 1910)
+++ glibc-package/trunk/debian/changelog	2007-01-22 16:51:27 UTC (rev 1911)
@@ -2,8 +2,10 @@
 
   * patches/kfreebsd/local-sysdeps.diff: update to revision 1886 (from
     glibc-bsd).
+  * patches/any/cvs-itoa-c.diff: new patch from CVS (fix sprintf %0lld with
+    argument equals to 0).  Closes: bug#292523.
 
- -- Aurelien Jarno <aurel32@debian.org>  Mon, 22 Jan 2007 15:36:14 +0100
+ -- Aurelien Jarno <aurel32@debian.org>  Mon, 22 Jan 2007 17:47:01 +0100
 
 glibc (2.3.6.ds1-10) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/any/cvs-itoa-c.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/cvs-itoa-c.diff	2007-01-22 14:40:42 UTC (rev 1910)
+++ glibc-package/trunk/debian/patches/any/cvs-itoa-c.diff	2007-01-22 16:51:27 UTC (rev 1911)
@@ -0,0 +1,29 @@
+2007-01-22  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #3902]
+       * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted.
+
+===================================================================
+RCS file: /cvs/glibc/libc/stdio-common/_itoa.c,v
+retrieving revision 1.21
+retrieving revision 1.22
+diff -u -r1.21 -r1.22
+--- libc/stdio-common/_itoa.c	2004/06/06 06:02:14	1.21
++++ libc/stdio-common/_itoa.c	2007/01/22 16:16:08	1.22
+@@ -269,6 +269,7 @@
+ 
+     default:
+       {
++	char *bufend = buflim;
+ #if BITS_PER_MP_LIMB == 64
+ 	mp_limb_t base_multiplier = brec->base_multiplier;
+ 	if (brec->flag)
+@@ -454,6 +455,8 @@
+ 	  }
+ 	while (n != 0);
+ #endif
++	if (buflim == bufend)
++	  *--buflim = '0';
+       }
+       break;
+     }

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2007-01-22 14:40:42 UTC (rev 1910)
+++ glibc-package/trunk/debian/patches/series	2007-01-22 16:51:27 UTC (rev 1911)
@@ -138,6 +138,7 @@
 any/cvs-errlist.diff -p0
 any/cvs-futimes.diff -p0
 any/cvs-getcwd_c.diff -p1
+any/cvs-itoa-c.diff -p1
 any/cvs-nfs_h.diff -p0
 any/cvs-path_log.diff -p0
 any/cvs-regcomp_c.diff -p1



Reply to: