rpms/gcc/devel gcc41-rh234515.patch,1.1,1.2
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Apr 3 15:24:22 UTC 2007
- Previous message (by thread): rpms/tzdata/devel .cvsignore, 1.34, 1.35 sources, 1.36, 1.37 tzdata.spec, 1.45, 1.46
- Next message (by thread): rpms/rhgb/devel .cvsignore, 1.22, 1.23 rhgb.spec, 1.69, 1.70 sources, 1.23, 1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jakub
Update of /cvs/dist/rpms/gcc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19649
Modified Files:
gcc41-rh234515.patch
Log Message:
4.1.2-8
gcc41-rh234515.patch:
0 files changed
Index: gcc41-rh234515.patch
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc41-rh234515.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcc41-rh234515.patch 3 Apr 2007 13:14:16 -0000 1.1
+++ gcc41-rh234515.patch 3 Apr 2007 15:24:15 -0000 1.2
@@ -7,15 +7,15 @@
--- libstdc++-v3/include/bits/deque.tcc (revision 121146)
+++ libstdc++-v3/include/bits/deque.tcc (revision 121147)
-@@ -143,7 +143,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GL
- {
+@@ -142,7 +142,7 @@ namespace _GLIBCXX_STD
const difference_type __n = __last - __first;
- const difference_type __elems_before = __first - begin();
+ const difference_type __elems_before = (__first
+ - this->_M_impl._M_start);
- if (static_cast<size_type>(__elems_before) < (size() - __n) / 2)
+ if (static_cast<size_type>(__elems_before) <= (size() - __n) / 2)
{
- if (__first != begin())
- std::copy_backward(begin(), __first, __last);
+ std::copy_backward(this->_M_impl._M_start, __first, __last);
+ iterator __new_start = this->_M_impl._M_start + __n;
--- libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/3.cc (revision 0)
+++ libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/3.cc (revision 121147)
@@ -0,0 +1,52 @@
- Previous message (by thread): rpms/tzdata/devel .cvsignore, 1.34, 1.35 sources, 1.36, 1.37 tzdata.spec, 1.45, 1.46
- Next message (by thread): rpms/rhgb/devel .cvsignore, 1.22, 1.23 rhgb.spec, 1.69, 1.70 sources, 1.23, 1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list