diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-16 06:06:21 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-16 06:06:21 +0000 |
commit | 0fb653cca7e51af40a2e620febc84add585feb94 (patch) | |
tree | e7a995b53e562cf4b41b84049330960c531badb4 /libio/ioputs.c | |
parent | 02228370832f0f150d2be4b7548e5ce97ddae88c (diff) | |
download | glibc-0fb653cca7e51af40a2e620febc84add585feb94.zip glibc-0fb653cca7e51af40a2e620febc84add585feb94.tar.gz glibc-0fb653cca7e51af40a2e620febc84add585feb94.tar.bz2 |
Update.
1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* libio/ioputs.c (_IO_puts): Add missing brace.
Diffstat (limited to 'libio/ioputs.c')
-rw-r--r-- | libio/ioputs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/ioputs.c b/libio/ioputs.c index 86ae790..0c97def 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; |