iostream.cc (ostream::operator<<(double n)): Initialize new fields wide and i18n...
authorJakub Jelinek <jakub@redhat.com>
Mon, 16 Oct 2000 07:41:01 +0000 (09:41 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 16 Oct 2000 07:41:01 +0000 (09:41 +0200)
* 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.

From-SVN: r36876

libio/ChangeLog
libio/iostream.cc

index 43763a8b61e4bb5e906662675e07d28eb9b7dbfc..55f6ec83736a5250e03207cc343adb0b06b4ed4a 100644 (file)
@@ -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".
index 31fafcb5dc9acff992387426fe12107af5db37ae..1f294313c373b74cd933aca5a4c87ccaa2cfba3c 100644 (file)
@@ -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()