This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] Fix an ext testcase


Hi,

also noticed by Kaveh, tested x86-linux, committed to both
mainline and 3_4-branch.

(took the occasion to rotate 3_4-branch ChangeLog)

Paolo.

//////////////////
2005-01-01  Paolo Carlini  <pcarlini@suse.de>

        * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
	testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
	* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
diff -urN libstdc++-v3-orig/testsuite/ext/enc_filebuf/char/13189.cc libstdc++-v3/testsuite/ext/enc_filebuf/char/13189.cc
--- libstdc++-v3-orig/testsuite/ext/enc_filebuf/char/13189.cc	2004-02-16 18:48:12.000000000 +0100
+++ libstdc++-v3/testsuite/ext/enc_filebuf/char/13189.cc	2005-01-01 23:54:20.000000000 +0100
@@ -1,4 +1,4 @@
-// Copyright (C) 2003, 2004 Free Software Foundation
+// Copyright (C) 2003, 2004, 2005 Free Software Foundation
 //
 // 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
@@ -16,10 +16,10 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 // USA.
 
+#include <testsuite_hooks.h>
 #ifdef _GLIBCXX_USE___ENC_TRAITS
 #include <ext/enc_filebuf.h>
 #endif
-#include <testsuite_hooks.h>
 
 void test01()
 {
diff -urN libstdc++-v3-orig/testsuite/ext/enc_filebuf/wchar_t/13189.cc libstdc++-v3/testsuite/ext/enc_filebuf/wchar_t/13189.cc
--- libstdc++-v3-orig/testsuite/ext/enc_filebuf/wchar_t/13189.cc	2004-02-16 18:48:12.000000000 +0100
+++ libstdc++-v3/testsuite/ext/enc_filebuf/wchar_t/13189.cc	2005-01-01 23:54:44.000000000 +0100
@@ -1,4 +1,4 @@
-// Copyright (C) 2003, 2004 Free Software Foundation
+// Copyright (C) 2003, 2004, 2005 Free Software Foundation
 //
 // 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
@@ -16,10 +16,10 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 // USA.
 
+#include <testsuite_hooks.h>
 #ifdef _GLIBCXX_USE___ENC_TRAITS
 #include <ext/enc_filebuf.h>
 #endif
-#include <testsuite_hooks.h>
 
 void test01()
 {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]