From 50e29dd80f712ae459c344a1e1a3847a806afe40 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 16 Oct 2000 09:41:01 +0200 Subject: [PATCH] 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 --- libio/ChangeLog | 7 +++++++ libio/iostream.cc | 10 +++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) 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 + + * 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 * stdstreams.cc: Include , 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() -- 2.30.2