[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] unicodeio: depend on stdio, not ignore-value
From: |
Paul Eggert |
Subject: |
[PATCH 2/3] unicodeio: depend on stdio, not ignore-value |
Date: |
Thu, 03 Jan 2013 18:08:16 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
* 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 <address@hidden>
+ 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
- [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/03
- [PATCH 2/3] unicodeio: depend on stdio, not ignore-value,
Paul Eggert <=
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Jim Meyering, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Jim Meyering, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Eric Blake, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Jim Meyering, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/04