iostream.cc (ostream::operator<<(double n)): Initialize new fields wide and i18n of struct printf_info.

* 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
This commit is contained in:
Jakub Jelinek 2000-10-16 09:41:01 +02:00 committed by Jakub Jelinek
parent 60ade93537
commit 50e29dd80f
2 changed files with 16 additions and 1 deletions

View 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".

View 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()