From: Ulrich Drepper Date: Mon, 16 Aug 1999 06:06:21 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/pre-glibc-2_1_3~494 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fb653cca7e51af40a2e620febc84add585feb94;p=thirdparty%2Fglibc.git Update. 1999-08-16 Andreas Jaeger * libio/ioputs.c (_IO_puts): Add missing brace. --- diff --git a/ChangeLog b/ChangeLog index 941eab5c12d..b1316b58d61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1999-08-16 Andreas Jaeger + + * libio/ioputs.c (_IO_puts): Add missing brace. + 1999-07-20 Geoff Keating * math/libm-test.c: Tweak deltas for a clean run on ppc. diff --git a/libio/ioputs.c b/libio/ioputs.c index 86ae790718b..0c97def9757 100644 --- a/libio/ioputs.c +++ b/libio/ioputs.c @@ -36,7 +36,7 @@ _IO_puts (str) _IO_stdout); _IO_flockfile (_IO_stdout); - if (_IO_stdout->_vtable_offset != 0 || _IO_fwide (_IO_stdout, -1) == -1) + if ((_IO_stdout->_vtable_offset != 0 || _IO_fwide (_IO_stdout, -1) == -1) && _IO_sputn (_IO_stdout, str, len) == len && _IO_putc_unlocked ('\n', _IO_stdout) != EOF) result = len + 1;