]> Savannah Git Hosting - gnulib.git/commitdiff
unicodeio: depend on stdio, not ignore-value
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 4 Jan 2013 01:55:52 +0000 (01:55 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 4 Jan 2013 02:05:36 +0000 (18:05 -0800)
* 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
lib/unicodeio.c
modules/unicodeio

index ab35abd3c45d0bf8ba7aae79805d10a595e6bed2..1958b416f76a43ea86b9cb45ed71f16464e32a27 100644 (file)
--- 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,
index dd3c80afeb5ae01b0c632991f5519fe695e2c92b..62aee248bb26798895d25489ec04404f468be0f0 100644 (file)
@@ -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;
 }
 
index 8231569c67f3b0390c10ac58edba765b09a20544..dbcc6c5fb953abd02159f1be977efb2391215265 100644 (file)
@@ -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
-