summaryrefslogtreecommitdiff
path: root/contrib/libstdc++/include/bits/fstream.tcc
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2003-02-10 05:47:54 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2003-02-10 05:47:54 +0000
commit5801dade0e5c0139d3379f296dc61fad77e4328a (patch)
tree54f954d3274c4f5a43a4366c77ef6ab38c5c607d /contrib/libstdc++/include/bits/fstream.tcc
parent72983f38e19d795e4671ce8231e076df7f6c5bc0 (diff)
parent61e268fb5fe80d065abc291868bc5286fe3a7632 (diff)
Notes
Diffstat (limited to 'contrib/libstdc++/include/bits/fstream.tcc')
-rw-r--r--contrib/libstdc++/include/bits/fstream.tcc7
1 files changed, 2 insertions, 5 deletions
diff --git a/contrib/libstdc++/include/bits/fstream.tcc b/contrib/libstdc++/include/bits/fstream.tcc
index 66cb9a1b179f..0b3bec1c2630 100644
--- a/contrib/libstdc++/include/bits/fstream.tcc
+++ b/contrib/libstdc++/include/bits/fstream.tcc
@@ -1,6 +1,6 @@
// File based streams -*- C++ -*-
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -461,10 +461,7 @@ namespace std
bool __testbeg = gptr() == eback() && pptr() == pbase();
if (__testbeg && _M_buf_locale != __loc)
- {
- _M_buf_locale = __loc;
- _M_buf_locale_init = true;
- }
+ _M_buf_locale = __loc;
// NB this may require the reconversion of previously
// converted chars. This in turn may cause the reconstruction