From c7c2e8316cc7cc99d8dfc9aa166e7af1b0b14516 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Thu, 4 Aug 2011 02:26:52 +0000 Subject: [PATCH] filebuf_sputn_unbuf.cc: Include unistd.h for unlink. 2011-08-03 Benjamin Kosnik * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: Include unistd.h for unlink. * testsuite/performance/27_io/ofstream_insert_int.cc: Same. * testsuite/performance/27_io/ifstream_extract_int.cc: Same. * testsuite/performance/27_io/ifstream_getline-2.cc: Same. * testsuite/performance/27_io/fstream_seek_write.cc: Same. * testsuite/performance/27_io/ifstream_extract_chars.cc: Same. * testsuite/performance/27_io/ofstream_insert_float.cc: Same. * testsuite/performance/27_io/ifstream_extract_float.cc: Same. * testsuite/performance/27_io/filebuf_sputc.cc: Same. From-SVN: r177307 --- libstdc++-v3/ChangeLog | 13 +++++++++++++ .../testsuite/performance/27_io/filebuf_sputc.cc | 4 ++-- .../performance/27_io/filebuf_sputn_unbuf.cc | 4 ++-- .../performance/27_io/fstream_seek_write.cc | 4 ++-- .../performance/27_io/ifstream_extract_chars.cc | 4 ++-- .../performance/27_io/ifstream_extract_float.cc | 4 ++-- .../performance/27_io/ifstream_extract_int.cc | 4 ++-- .../performance/27_io/ifstream_getline-2.cc | 4 ++-- .../performance/27_io/ofstream_insert_float.cc | 4 ++-- .../performance/27_io/ofstream_insert_int.cc | 4 ++-- 10 files changed, 31 insertions(+), 18 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e42879203f5..c94b300f1df 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,16 @@ +2011-08-03 Benjamin Kosnik + + * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: Include + unistd.h for unlink. + * testsuite/performance/27_io/ofstream_insert_int.cc: Same. + * testsuite/performance/27_io/ifstream_extract_int.cc: Same. + * testsuite/performance/27_io/ifstream_getline-2.cc: Same. + * testsuite/performance/27_io/fstream_seek_write.cc: Same. + * testsuite/performance/27_io/ifstream_extract_chars.cc: Same. + * testsuite/performance/27_io/ofstream_insert_float.cc: Same. + * testsuite/performance/27_io/ifstream_extract_float.cc: Same. + * testsuite/performance/27_io/filebuf_sputc.cc: Same. + 2011-08-03 Benjamin Kosnik * include/std/tuple: Mark more constructors constexpr. diff --git a/libstdc++-v3/testsuite/performance/27_io/filebuf_sputc.cc b/libstdc++-v3/testsuite/performance/27_io/filebuf_sputc.cc index 40600d5a75b..eafe67c9c22 100644 --- a/libstdc++-v3/testsuite/performance/27_io/filebuf_sputc.cc +++ b/libstdc++-v3/testsuite/performance/27_io/filebuf_sputc.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . - +#include #include #include #include diff --git a/libstdc++-v3/testsuite/performance/27_io/filebuf_sputn_unbuf.cc b/libstdc++-v3/testsuite/performance/27_io/filebuf_sputn_unbuf.cc index 10b1746f7b3..81f99a78a9c 100644 --- a/libstdc++-v3/testsuite/performance/27_io/filebuf_sputn_unbuf.cc +++ b/libstdc++-v3/testsuite/performance/27_io/filebuf_sputn_unbuf.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004, 2009 Free Software Foundation, Inc. +// Copyright (C) 2004, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . - +#include #include #include #include diff --git a/libstdc++-v3/testsuite/performance/27_io/fstream_seek_write.cc b/libstdc++-v3/testsuite/performance/27_io/fstream_seek_write.cc index f55d5337756..f4e95ba21f4 100644 --- a/libstdc++-v3/testsuite/performance/27_io/fstream_seek_write.cc +++ b/libstdc++-v3/testsuite/performance/27_io/fstream_seek_write.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . - +#include #include #include diff --git a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_chars.cc b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_chars.cc index f12d497747c..22e811ae3fc 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_chars.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_chars.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2005, 2009 Free Software Foundation, Inc. +// Copyright (C) 2005, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . - +#include #include #include #include diff --git a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_float.cc b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_float.cc index 2df70ccd5f4..23636a2d99f 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_float.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_float.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004, 2009 Free Software Foundation, Inc. +// Copyright (C) 2004, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . - +#include #include #include #include diff --git a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_int.cc b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_int.cc index 7491ad331f6..ac6f5985bc3 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_int.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_int.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . - +#include #include #include diff --git a/libstdc++-v3/testsuite/performance/27_io/ifstream_getline-2.cc b/libstdc++-v3/testsuite/performance/27_io/ifstream_getline-2.cc index 8c9ebd36251..3fc5e233920 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ifstream_getline-2.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ifstream_getline-2.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004, 2009 Free Software Foundation, Inc. +// Copyright (C) 2004, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . - +#include #include #include #include diff --git a/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_float.cc b/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_float.cc index 203550db1f8..6d558e51b80 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_float.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_float.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . - +#include #include #include #include diff --git a/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_int.cc b/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_int.cc index 22ac7982e73..60cedbb2a81 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_int.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_int.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . - +#include #include #include -- 2.30.2