patches/gcc/2.95.3/140-deque-leak-fix.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 24 16:24:09 2008 +0000 (2008-06-24)
changeset 611 eac4dc8da8a9
permissions -rw-r--r--
New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html

/trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
11 files changed, 225 insertions(+)
     1 [See also http://gcc.gnu.org/ml/libstdc++/2001-11/msg00133.html ]
     2 
     3 Date: Fri, 16 Nov 2001 16:06:22 -0500
     4 From: Phil Edwards <pedwards at disaster dot jaj dot com>
     5 To: gcc-patches at gcc dot gnu dot org
     6 Subject: [libstdc++ trunk & 3.0]  Fix deque memory leak
     7 Message-ID: <20011116160622.A23094@disaster.jaj.com>
     8 
     9 
    10 As discussed on the libstdc++ mailing list.  Tested on i686/linux.
    11 
    12 
    13 
    14 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
    15 
    16 	* include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
    17 
    18 
    19 [rediffed against 2.95.3 -- dank]
    20 
    21 --- gcc-2.95.3/libstdc++/stl/stl_deque.h.old	2001-01-01 09:48:22.000000000 -0800
    22 +++ gcc-2.95.3/libstdc++/stl/stl_deque.h	2006-02-18 15:24:17.000000000 -0800
    23 @@ -1052,7 +1052,7 @@
    24        copy_backward(_M_start, __first, __last);
    25        iterator __new_start = _M_start + __n;
    26        destroy(_M_start, __new_start);
    27 -      _M_destroy_nodes(__new_start._M_node, _M_start._M_node);
    28 +      _M_destroy_nodes(_M_start._M_node, __new_start._M_node);  /* fixed per http://gcc.gnu.org/ml/libstdc++/2001-11/msg00139.html */
    29        _M_start = __new_start;
    30      }
    31      else {