SOURCES (GCC_4_1): gcc-libstdcxx-bitset.patch (NEW) - use unchecke...

pluto pluto at pld-linux.org
Sun Feb 26 16:53:41 CET 2006


Author: pluto                        Date: Sun Feb 26 15:53:41 2006 GMT
Module: SOURCES                       Tag: GCC_4_1
---- Log message:
- use unchecked set.

---- Files affected:
SOURCES:
   gcc-libstdcxx-bitset.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gcc-libstdcxx-bitset.patch
diff -u /dev/null SOURCES/gcc-libstdcxx-bitset.patch:1.1.2.1
--- /dev/null	Sun Feb 26 16:53:41 2006
+++ SOURCES/gcc-libstdcxx-bitset.patch	Sun Feb 26 16:53:36 2006
@@ -0,0 +1,20 @@
+--- gcc/libstdc++-v3/include/std/std_bitset.h.orig	2006-02-24 13:56:49.490596250 +0100
++++ gcc/libstdc++-v3/include/std/std_bitset.h	2006-02-26 13:28:58.809510250 +0100
+@@ -1,6 +1,7 @@
+ // <bitset> -*- C++ -*-
+ 
+-// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
++// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
++// Free Software Foundation, Inc.
+ //
+ // This file is part of the GNU ISO C++ Library.  This library is free
+ // software; you can redistribute it and/or modify it under the
+@@ -1157,7 +1158,7 @@
+ 	      case '0':
+ 		break;
+ 	      case '1':
+-		set(__i);
++		_Unchecked_set(__i);
+ 		break;
+ 	      default:
+ 		__throw_invalid_argument(__N("bitset::_M_copy_from_string"));
================================================================


More information about the pld-cvs-commit mailing list