Commit 50e29dd8 by Jakub Jelinek Committed by Jakub Jelinek

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

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
parent 60ade935
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> 2000-09-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* stdstreams.cc: Include <libio.h>, not "libio.h". * stdstreams.cc: Include <libio.h>, not "libio.h".
......
/* This is part of libio/iostream, providing -*- C++ -*- input/output. /* 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 This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the software; you can redistribute it and/or modify it under the
...@@ -687,6 +687,10 @@ ostream& ostream::operator<<(double n) ...@@ -687,6 +687,10 @@ ostream& ostream::operator<<(double n)
/* extra: */ 0, /* extra: */ 0,
#if __GLIBC_MINOR__ >= 1 #if __GLIBC_MINOR__ >= 1
/* is_char: */ 0, /* is_char: */ 0,
#if __GLIBC_MINOR__ >= 2
/* wide: */ 0,
/* i18n: */ 0,
#endif
#endif #endif
#endif #endif
/* pad: */ fill() /* pad: */ fill()
...@@ -793,6 +797,10 @@ ostream& ostream::operator<<(long double n) ...@@ -793,6 +797,10 @@ ostream& ostream::operator<<(long double n)
/* extra: */ 0, /* extra: */ 0,
#if __GLIBC_MINOR__ >= 1 #if __GLIBC_MINOR__ >= 1
/* is_char: */ 0, /* is_char: */ 0,
#if __GLIBC_MINOR__ >= 2
/* wide: */ 0,
/* i18n: */ 0,
#endif
#endif #endif
#endif #endif
/* pad: */ fill() /* pad: */ fill()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment