Mercurial > hg > octave-shane > gnulib-hg
changeset 17267:ee4cb5937493
unicodeio: depend on stdio, not ignore-value
* lib/unicodeio.c: Do not include ignore-value.h.
(fwrite_success_callback): Use plain fwrite, not ignore_value + fwrite.
* modules/unicodeio (Depends-on): Depend on stdio, not ignore-value.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 04 Jan 2013 01:55:52 +0000 |
parents | b039ff4451d0 |
children | 840fa337f971 |
files | ChangeLog lib/unicodeio.c modules/unicodeio |
diffstat | 3 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2013-01-04 Paul Eggert <eggert@cs.ucla.edu> + unicodeio: depend on stdio, not ignore-value + * lib/unicodeio.c: Do not include ignore-value.h. + (fwrite_success_callback): Use plain fwrite, not ignore_value + fwrite. + * modules/unicodeio (Depends-on): Depend on stdio, not ignore-value. + fprintftime: depend on stdio, not ignore-value * lib/strftime.c [FPRINTFTIME]: Do not include ignore-value.h. (cpy) [FPRINTFTIME]: Use plain fwrite, not ignore_value of fwrite,
--- a/lib/unicodeio.c +++ b/lib/unicodeio.c @@ -38,7 +38,6 @@ #include "localcharset.h" #include "unistr.h" -#include "ignore-value.h" /* When we pass a Unicode character to iconv(), we must pass it in a suitable encoding. The standardized Unicode encodings are @@ -169,7 +168,7 @@ conditions (STREAM is an open stream and not wide-character oriented) when fwrite() returns a value != buflen it also sets STREAM's error indicator. */ - ignore_value (fwrite (buf, 1, buflen, stream)); + fwrite (buf, 1, buflen, stream); return 0; }