Author: aurel32
Date: 2007-10-27 11:33:22 +0000 (Sat, 27 Oct 2007)
New Revision: 2619

Added:
   glibc-package/branches/glibc-2.7/debian/patches/any/local-strfry.diff
Modified:
   glibc-package/branches/glibc-2.7/debian/changelog
   glibc-package/branches/glibc-2.7/debian/patches/series
Log:
  * any/local-strfry.diff: new patch to fix strfry(), as Ulrich Drepper 
    has still not managed to commit a correct version.



Modified: glibc-package/branches/glibc-2.7/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.7/debian/changelog   2007-10-27 11:32:02 UTC 
(rev 2618)
+++ glibc-package/branches/glibc-2.7/debian/changelog   2007-10-27 11:33:22 UTC 
(rev 2619)
@@ -12,8 +12,10 @@
   [ Aurelien Jarno ]
   * Improve any/submitted-rfc3484-sortv4.diff.
   * Update hurd-i386/submitted-trivial.diff.
+  * any/local-strfry.diff: new patch to fix strfry(), as Ulrich Drepper 
+    has still not managed to commit a correct version.
 
- -- Pierre Habouzit <[EMAIL PROTECTED]>  Sat, 27 Oct 2007 13:29:45 +0200
+ -- Aurelien Jarno <[EMAIL PROTECTED]>  Sat, 27 Oct 2007 13:30:26 +0200
 
 glibc (2.7-0exp1) experimental; urgency=low
 

Added: glibc-package/branches/glibc-2.7/debian/patches/any/local-strfry.diff
===================================================================
--- glibc-package/branches/glibc-2.7/debian/patches/any/local-strfry.diff       
                        (rev 0)
+++ glibc-package/branches/glibc-2.7/debian/patches/any/local-strfry.diff       
2007-10-27 11:33:22 UTC (rev 2619)
@@ -0,0 +1,11 @@
+--- string/strfry.c    2007-10-27 11:58:46.350000000 +0200
++++ string/strfry.c.orig       2007-10-27 11:58:24.290000000 +0200
+@@ -38,7 +38,7 @@
+     }
+ 
+   len = strlen (string) - 1;
+-  for (i = 0; i < len - 1; ++i)
++  for (i = 0; i < len; ++i)
+     {
+       int32_t j;
+       __random_r (&rdata, &j);

Modified: glibc-package/branches/glibc-2.7/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.7/debian/patches/series      2007-10-27 
11:32:02 UTC (rev 2618)
+++ glibc-package/branches/glibc-2.7/debian/patches/series      2007-10-27 
11:33:22 UTC (rev 2619)
@@ -140,6 +140,7 @@
 any/local-o_cloexec.diff -p0
 any/local-rtld.diff -p0
 any/local-sysctl.diff -p0
+any/local-strfry.diff -p0
 any/local-stubs_h.diff 
 any/local-stdio-lock.diff -p0
 any/local-tcsetaddr.diff -p0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to