Mercurial > hg > octave-nkf > gnulib-hg
changeset 12205:bd01eb4a7146
fprintftime: remove stray semicolon from previous change
* lib/strftime.c (cpy) [FPRINTFTIME]: Remove trailing semicolon.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Wed, 28 Oct 2009 11:07:31 +0100 |
parents | 5929f9acfa94 |
children | 5b7b0b8645f1 |
files | ChangeLog lib/strftime.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-10-28 Jim Meyering <meyering@redhat.com> + fprintftime: remove stray semicolon from previous change + * lib/strftime.c (cpy) [FPRINTFTIME]: Remove trailing semicolon. + fprintftime: avoid a warning about ignored fwrite return value * lib/strftime.c [FPRINTFTIME]: Include "ignore-value.h". (cpy) [FPRINTFTIME]: Ignore fwrite failure, even though technically,
--- a/lib/strftime.c +++ b/lib/strftime.c @@ -211,7 +211,7 @@ is intended to be consistent with the one from ISO C, \ which permits failure due to ENOMEM *without* setting the \ stream's error indicator. */ \ - ignore_value (fwrite ((s), _n, 1, p))); \ + ignore_value (fwrite ((s), _n, 1, p))) \ } #else # define cpy(n, s) \