# HG changeset patch # User Paul Eggert # Date 1357264552 0 # Node ID ee4cb59374936d45388a31ba0337083d4bfe0ea6 # Parent b039ff4451d032c2b44118fbb2834820e8962f49 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. diff -r b039ff4451d0 -r ee4cb5937493 ChangeLog --- a/ChangeLog Fri Jan 04 01:55:18 2013 +0000 +++ b/ChangeLog Fri Jan 04 01:55:52 2013 +0000 @@ -1,5 +1,10 @@ 2013-01-04 Paul Eggert + 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 -r b039ff4451d0 -r ee4cb5937493 lib/unicodeio.c --- a/lib/unicodeio.c Fri Jan 04 01:55:18 2013 +0000 +++ b/lib/unicodeio.c Fri Jan 04 01:55:52 2013 +0000 @@ -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; } diff -r b039ff4451d0 -r ee4cb5937493 modules/unicodeio --- a/modules/unicodeio Fri Jan 04 01:55:18 2013 +0000 +++ b/modules/unicodeio Fri Jan 04 01:55:52 2013 +0000 @@ -13,7 +13,7 @@ gettext-h localcharset error -ignore-value +stdio configure.ac: gl_UNICODEIO @@ -32,4 +32,3 @@ Maintainer: Bruno Haible -