summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-16 07:41:01 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-16 07:41:01 +0000
commit2b8c924ca69acbe0d1677feaf3660727b37b846d (patch)
treee21ab1bc3cb3278f8fd10aa9ed3f6aeb163490b9 /libio
parent149a7486bd0de1e06915404d6bd5bb90d3f2229c (diff)
downloadgcc-2b8c924ca69acbe0d1677feaf3660727b37b846d.tar.gz
* iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >= 2]:
Initialize new fields wide and i18n of struct printf_info. (ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 2]: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36876 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio')
-rw-r--r--libio/ChangeLog7
-rw-r--r--libio/iostream.cc10
2 files changed, 16 insertions, 1 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog
index 43763a8b61e..55f6ec83736 100644
--- a/libio/ChangeLog
+++ b/libio/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-16 Jakub Jelinek <jakub@redhat.com>
+
+ * iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >= 2]:
+ Initialize new fields wide and i18n of struct printf_info.
+ (ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 2]:
+ Likewise.
+
2000-09-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* stdstreams.cc: Include <libio.h>, not "libio.h".
diff --git a/libio/iostream.cc b/libio/iostream.cc
index 31fafcb5dc9..1f294313c37 100644
--- a/libio/iostream.cc
+++ b/libio/iostream.cc
@@ -1,5 +1,5 @@
/* This is part of libio/iostream, providing -*- C++ -*- input/output.
- Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1997, 2000 Free Software Foundation, Inc.
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
@@ -687,6 +687,10 @@ ostream& ostream::operator<<(double n)
/* extra: */ 0,
#if __GLIBC_MINOR__ >= 1
/* is_char: */ 0,
+#if __GLIBC_MINOR__ >= 2
+ /* wide: */ 0,
+ /* i18n: */ 0,
+#endif
#endif
#endif
/* pad: */ fill()
@@ -793,6 +797,10 @@ ostream& ostream::operator<<(long double n)
/* extra: */ 0,
#if __GLIBC_MINOR__ >= 1
/* is_char: */ 0,
+#if __GLIBC_MINOR__ >= 2
+ /* wide: */ 0,
+ /* i18n: */ 0,
+#endif
#endif
#endif
/* pad: */ fill()