r930 - trunk/glibc

archaic at linuxfromscratch.org archaic at linuxfromscratch.org
Wed Apr 27 15:43:45 PDT 2005


Author: archaic
Date: 2005-04-27 16:43:44 -0600 (Wed, 27 Apr 2005)
New Revision: 930

Added:
   trunk/glibc/glibc-2.3.4-fix_test-1.patch
   trunk/glibc/glibc-2.3.5-fix_test-1.patch
Log:
Added fix_test patch for glibc2.3.{4,5}

Added: trunk/glibc/glibc-2.3.4-fix_test-1.patch
===================================================================
--- trunk/glibc/glibc-2.3.4-fix_test-1.patch	2005-04-24 23:56:21 UTC (rev 929)
+++ trunk/glibc/glibc-2.3.4-fix_test-1.patch	2005-04-27 22:43:44 UTC (rev 930)
@@ -0,0 +1,25 @@
+Submitted By: Archaic (archaic -aT- linuxfromscratch -DoT- org)
+Date: 2005-04-27
+Initial Package Version: 2.3.4
+Origin: http://sources.redhat.com/ml/libc-alpha/2005-04/msg00033.html
+Upstream Status: Applied
+Description: Allows tst-cancel17 and tst-cancelx17 to pass with kernel-2.6.11.x
+
+diff -Naur glibc-2.3.5.orig/nptl/tst-cancel17.c glibc-2.3.5/nptl/tst-cancel17.c
+--- glibc-2.3.5.orig/nptl/tst-cancel17.c	2003-08-08 02:09:57.000000000 -0500
++++ glibc-2.3.5/nptl/tst-cancel17.c	2005-04-27 10:46:26.000000000 -0500
+@@ -1,4 +1,4 @@
+-/* Copyright (C) 2003 Free Software Foundation, Inc.
++/* Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+    This file is part of the GNU C Library.
+    Contributed by Ulrich Drepper <drepper at redhat.com>, 2003.
+ 
+@@ -228,7 +228,7 @@
+ 
+   size_t len2 = fpathconf (fds[1], _PC_PIPE_BUF);
+   size_t page_size = sysconf (_SC_PAGESIZE);
+-  len2 = (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
++  len2 = 20 * (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
+   char *mem2 = malloc (len2);
+   if (mem2 == NULL)
+     {

Added: trunk/glibc/glibc-2.3.5-fix_test-1.patch
===================================================================
--- trunk/glibc/glibc-2.3.5-fix_test-1.patch	2005-04-24 23:56:21 UTC (rev 929)
+++ trunk/glibc/glibc-2.3.5-fix_test-1.patch	2005-04-27 22:43:44 UTC (rev 930)
@@ -0,0 +1,25 @@
+Submitted By: Archaic (archaic -aT- linuxfromscratch -DoT- org)
+Date: 2005-04-27
+Initial Package Version: 2.3.4
+Origin: http://sources.redhat.com/ml/libc-alpha/2005-04/msg00033.html
+Upstream Status: Applied
+Description: Allows tst-cancel17 and tst-cancelx17 to pass with kernel-2.6.11.x
+
+diff -Naur glibc-2.3.5.orig/nptl/tst-cancel17.c glibc-2.3.5/nptl/tst-cancel17.c
+--- glibc-2.3.5.orig/nptl/tst-cancel17.c	2003-08-08 02:09:57.000000000 -0500
++++ glibc-2.3.5/nptl/tst-cancel17.c	2005-04-27 10:46:26.000000000 -0500
+@@ -1,4 +1,4 @@
+-/* Copyright (C) 2003 Free Software Foundation, Inc.
++/* Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+    This file is part of the GNU C Library.
+    Contributed by Ulrich Drepper <drepper at redhat.com>, 2003.
+ 
+@@ -228,7 +228,7 @@
+ 
+   size_t len2 = fpathconf (fds[1], _PC_PIPE_BUF);
+   size_t page_size = sysconf (_SC_PAGESIZE);
+-  len2 = (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
++  len2 = 20 * (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
+   char *mem2 = malloc (len2);
+   if (mem2 == NULL)
+     {




More information about the patches mailing list