* 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. --- ChangeLog | 5 +++++ lib/unicodeio.c | 3 +-- modules/unicodeio | 3 +-- 3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog index ab35abd..1958b41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2013-01-04 Paul Eggert <egg...@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, diff --git a/lib/unicodeio.c b/lib/unicodeio.c index dd3c80a..62aee24 100644 --- 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 @@ fwrite_success_callback (const char *buf, size_t buflen, void *callback_arg) 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; } diff --git a/modules/unicodeio b/modules/unicodeio index 8231569..dbcc6c5 100644 --- a/modules/unicodeio +++ b/modules/unicodeio @@ -13,7 +13,7 @@ iconv_open gettext-h localcharset error -ignore-value +stdio configure.ac: gl_UNICODEIO @@ -32,4 +32,3 @@ GPL Maintainer: Bruno Haible - -- 1.7.11.7