Date: Mon, 6 Sep 2021 14:46:20 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0016b7da3441 - main - iconv: Fix tablegen iconv test utility on arm64 Message-ID: <202109061446.186EkKAH073675@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=0016b7da344191c1960088d2fc41b0cfc3d5b5ec commit 0016b7da344191c1960088d2fc41b0cfc3d5b5ec Author: Edward Tomasz Napierala <trasz@FreeBSD.org> AuthorDate: 2021-09-06 14:44:59 +0000 Commit: Edward Tomasz Napierala <trasz@FreeBSD.org> CommitDate: 2021-09-06 14:45:08 +0000 iconv: Fix tablegen iconv test utility on arm64 Previously it would loop indefinitely on getopt_long(3) due to 'char' being unsigned. Reviewed By: allanjude Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D31817 --- tools/test/iconv/tablegen/tablegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test/iconv/tablegen/tablegen.c b/tools/test/iconv/tablegen/tablegen.c index a67de54ff310..12d44ae753ff 100644 --- a/tools/test/iconv/tablegen/tablegen.c +++ b/tools/test/iconv/tablegen/tablegen.c @@ -200,7 +200,7 @@ main (int argc, char *argv[]) struct iconv_fallbacks fbs; iconv_t cd; char *tocode; - char c; + int c; while (((c = getopt_long(argc, argv, optstr, long_options, NULL)) != -1)) { switch (c) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109061446.186EkKAH073675>