Mercurial > hg > octave-nkf > gnulib-hg
changeset 13953:6a6a78bd9425
iconv_open: Fix regression from 2010-12-04.
* m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN_UTF): Fix typo.
Reported by Noah Lavine <noah.b.lavine@gmail.com>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 20 Dec 2010 00:19:57 +0100 |
parents | 685711dc2eff |
children | 5a91216fb4c4 |
files | ChangeLog m4/iconv_open.m4 |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-12-19 Bruno Haible <bruno@clisp.org> + + iconv_open: Fix regression from 2010-12-04. + * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN_UTF): Fix typo. + Reported by Noah Lavine <noah.b.lavine@gmail.com>. + 2010-12-19 Bruno Haible <bruno@clisp.org> stdbool test: Avoid a gcc warning.
--- a/m4/iconv_open.m4 +++ b/m4/iconv_open.m4 @@ -1,4 +1,4 @@ -# iconv_open.m4 serial 11 +# iconv_open.m4 serial 12 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -203,7 +203,7 @@ result |= 8; else if (!(memcmp (buf, expected, sizeof (expected) - 1) == 0)) result |= 8; - else if ((iconv_close (cd) == 0)) + else if (!(iconv_close (cd) == 0)) result |= 8; } }