Magellan Linux

Annotation of /trunk/glibc/patches/glibc-2.3.5-fix_test-1.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (hide annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 1074 byte(s)
-import

1 niro 144 Submitted By: Archaic (archaic -aT- linuxfromscratch -DoT- org)
2     Date: 2005-04-27
3     Initial Package Version: 2.3.4
4     Origin: http://sources.redhat.com/ml/libc-alpha/2005-04/msg00056.html
5     Upstream Status: Applied
6     Description: Allows tst-cancel17 and tst-cancelx17 to pass with kernel-2.6.11.x
7    
8     diff -Naur glibc-2.3.5.orig/nptl/tst-cancel17.c glibc-2.3.5/nptl/tst-cancel17.c
9     --- glibc-2.3.5.orig/nptl/tst-cancel17.c 2003-08-08 02:09:57.000000000 -0500
10     +++ glibc-2.3.5/nptl/tst-cancel17.c 2005-04-27 10:46:26.000000000 -0500
11     @@ -1,4 +1,4 @@
12     -/* Copyright (C) 2003 Free Software Foundation, Inc.
13     +/* Copyright (C) 2003, 2005 Free Software Foundation, Inc.
14     This file is part of the GNU C Library.
15     Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
16    
17     @@ -228,7 +228,7 @@
18    
19     size_t len2 = fpathconf (fds[1], _PC_PIPE_BUF);
20     size_t page_size = sysconf (_SC_PAGESIZE);
21     - len2 = (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
22     + len2 = 20 * (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
23     char *mem2 = malloc (len2);
24     if (mem2 == NULL)
25     {